#2B2D8F color
The hex color #2B2D8F is a dark, moderate blue.
In the RGB color model it is made of 16.9% red, 17.6% green and 56.1% blue (43, 45, 143).
Its hue angle is 239°, with 54% saturation and 36% lightness. For print, the CMYK equivalent is 70% cyan, 69% magenta, 0% yellow and 44% black.
The closest named color is Royal Night (#2B3191), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.2:1).
#2B2D8F color codes
| HEX | #2B2D8F | |
|---|---|---|
| RGB | rgb(43, 45, 143) | |
| RGB percent | rgb(16.9%, 17.6%, 56.1%) | |
| HSL | hsl(239, 54%, 36%) | |
| HSV / HSB | hsv(239, 70%, 56%) | |
| CMYK | cmyk(70%, 69%, 0%, 44%) | |
| CIE LAB | lab(24.87, 32.33, -54.35) | |
| CIE LCH | lch(24.87, 63.24, 300.75) | |
| CIE XYZ | xyz(6.891, 4.373, 26.462) | |
| Decimal | 2829711 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B2D8F, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #2B2D8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.87:1 | Fail | Fail | Fail |
| Sample text | 11.2:1 | Pass | Pass | Pass |
| #2B2D8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.2:1 | Pass | Pass | Pass |
| Sample text | 1.87:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #2B2D8F looks to people with the most common types of color vision deficiency.
#004092Protanopia
no red cones#00368dDeuteranopia
no green cones#00475aTritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #2b2d8f; }
.text { color: #2b2d8f; }
.border { border: 2px solid #2b2d8f; }
.transparent { background-color: rgb(43 45 143 / 50%); }
.gradient { background: linear-gradient(to right, #2b2d8f, #5b2b8f); }
Similar colors
#2b3191Royal Night#313390Perfect Dark#2c319bDepths of Night#333399Bluebell#273287Intergalactic Highway#2d3796Liquid Denim#082599Deepsea Kraken#072688Naval Adventures
Closest common color name: Egyptian Blue.
Questions
- What color is #2B2D8F?
- #2B2D8F is a dark, moderate blue, closest to the named color Royal Night. It belongs to the blue family of colors.
- What is the RGB value of #2B2D8F?
- The RGB value is 43, 45, 143: 43 red, 45 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #2B2D8F?
- The complementary color is #8F8D2B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B2D8F?
- White text. Black text has a contrast ratio of 1.87:1 and white text 11.2:1. WCAG asks for at least 4.5:1 for normal text.