#2B2E71#2B2E71
#2B2E71 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.113 H 276.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E71 |
|---|---|
| RGB | rgb(43, 46, 113) |
| HSL | hsl(237, 45%, 31%) |
| HSV | hsv(237, 62%, 44%) |
| CMYK | cmyk(61.9%, 59.3%, 0%, 55.7%) |
| CIE-LAB | lab(22.51, 20.76, -39.28) |
| CIE-LCH | lch(22.51, 44.43, 297.85°) |
| OKLab | oklab(34.03% 0.013 -0.1127) |
| OKLCH | oklch(34.03% 0.113 276.6) |
| XYZ | xyz(4.9529, 3.6595, 16.0649) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.62
Marine
#042E60
ΔE00 6.78
Blueberry
#464196
ΔE00 7.89
Navy Blue
#1B2A4A
ΔE00 8.09
Marine Blue
#01386A
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E71 #716E2B
analogous
#2B5171 #2B2E71 #4B2B71
triadic
#2B2E71 #712B2E #2E712B
tetradic
#2B2E71 #712B51 #716E2B #2B714B
square
#2B2E71 #712B51 #716E2B #2B714B
split-complementary
#2B2E71 #714B2B #51712B
monochromatic
#090A18 #1A1C45 #2B2E71 #3C409D #575CBF
Accessibility & contrast
On white
12.12
#2B2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2B2E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E71
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E71 | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b2e71; /* rgb */ color: rgb(43, 46, 113); /* oklch */ color: oklch(34.0% 0.113 276.6);
Tailwind
colors: {
custom: {
50: '#6c669a',
500: '#2b2e71',
950: '#000000',
},
}SCSS
$custom: #2b2e71; $custom-light: #6c669a; $custom-dark: #000000;
JSON
{
"hex": "#2b2e71",
"rgb": {
"r": 43,
"g": 46,
"b": 113
},
"hsl": {
"h": 237.429,
"s": 44.872,
"l": 30.588
},
"oklch": {
"l": 0.34026,
"c": 0.11348,
"h": 276.6
},
"luminance": 0.0366
}Semantic roles & 50–950 ramp
primary
#2B2E71
secondary
#A39F55
accent
#CF53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E