#2B2F77#2B2F77
#2B2F77 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.121 H 275.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F77 |
|---|---|
| RGB | rgb(43, 47, 119) |
| HSL | hsl(237, 47%, 32%) |
| HSV | hsv(237, 64%, 47%) |
| CMYK | cmyk(63.9%, 60.5%, 0%, 53.3%) |
| CIE-LAB | lab(23.26, 22.28, -41.90) |
| CIE-LCH | lch(23.26, 47.45, 298.00°) |
| OKLab | oklab(34.74% 0.012 -0.1204) |
| OKLCH | oklch(34.74% 0.121 275.7) |
| XYZ | xyz(5.3415, 3.8781, 17.9163) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.08
Midnight Blue
#191970
ΔE00 6.28
Marine
#042E60
ΔE00 7.04
Blueberry
#464196
ΔE00 7.14
Sapphire (survey)
#2138AB
ΔE00 8.12
Royal
#0C1793
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F77 #77732B
analogous
#2B5577 #2B2F77 #4D2B77
triadic
#2B2F77 #772B2F #2F772B
tetradic
#2B2F77 #772B55 #77732B #2B774D
square
#2B2F77 #772B55 #77732B #2B774D
split-complementary
#2B2F77 #774D2B #55772B
monochromatic
#0B0B1D #1B1D4A #2B2F77 #3B41A4 #595FC3
Accessibility & contrast
On white
11.83
#2B2F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2B2F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F77
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F77 | 1.00 | 11.83 | 1.78 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b2f77; /* rgb */ color: rgb(43, 47, 119); /* oklch */ color: oklch(34.7% 0.121 275.7);
Tailwind
colors: {
custom: {
50: '#6d679f',
500: '#2b2f77',
950: '#000000',
},
}SCSS
$custom: #2b2f77; $custom-light: #6d679f; $custom-dark: #000000;
JSON
{
"hex": "#2b2f77",
"rgb": {
"r": 43,
"g": 47,
"b": 119
},
"hsl": {
"h": 236.842,
"s": 46.914,
"l": 31.765
},
"oklch": {
"l": 0.34737,
"c": 0.12101,
"h": 275.7
},
"luminance": 0.03879
}Semantic roles & 50–950 ramp
primary
#2B2F77
secondary
#A9A455
accent
#D051D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E