#2B3F9E#2B3F9E
#2B3F9E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.156 H 269.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3F9E |
|---|---|
| RGB | rgb(43, 63, 158) |
| HSL | hsl(230, 57%, 39%) |
| HSV | hsv(230, 73%, 62%) |
| CMYK | cmyk(72.8%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(30.73, 26.01, -53.96) |
| CIE-LCH | lch(30.73, 59.90, 295.73°) |
| OKLab | oklab(41.28% -0.002 -0.1557) |
| OKLCH | oklch(41.28% 0.156 269.3) |
| XYZ | xyz(8.9432, 6.5363, 33.1314) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.99
Blueberry
#464196
ΔE00 4.41
Cobalt
#0047AB
ΔE00 4.48
Cobalt (survey)
#1E488F
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3F9E #9E8A2B
analogous
#2B799E #2B3F9E #512B9E
triadic
#2B3F9E #9E2B3F #3F9E2B
tetradic
#2B3F9E #9E2B79 #9E8A2B #2B9E51
square
#2B3F9E #9E2B79 #9E8A2B #2B9E51
split-complementary
#2B3F9E #9E512B #799E2B
monochromatic
#11193E #1E2C6E #2B3F9E #3C55CA #6C7FD7
Accessibility & contrast
On white
9.10
#2B3F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2B3F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3F9E
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3F9E | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b3f9e; /* rgb */ color: rgb(43, 63, 158); /* oklch */ color: oklch(41.3% 0.156 269.3);
Tailwind
colors: {
custom: {
50: '#7573bb',
500: '#2b3f9e',
950: '#000000',
},
}SCSS
$custom: #2b3f9e; $custom-light: #7573bb; $custom-dark: #000000;
JSON
{
"hex": "#2b3f9e",
"rgb": {
"r": 43,
"g": 63,
"b": 158
},
"hsl": {
"h": 229.565,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.41283,
"c": 0.15568,
"h": 269.3
},
"luminance": 0.06537
}Semantic roles & 50–950 ramp
primary
#2B3F9E
secondary
#BEAF67
accent
#C647E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81