#2B2F7E#2B2F7E
#2B2F7E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.131 H 275.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F7E |
|---|---|
| RGB | rgb(43, 47, 126) |
| HSL | hsl(237, 49%, 33%) |
| HSV | hsv(237, 66%, 49%) |
| CMYK | cmyk(65.9%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(23.84, 24.85, -45.39) |
| CIE-LCH | lch(23.84, 51.75, 298.70°) |
| OKLab | oklab(35.35% 0.0119 -0.1307) |
| OKLCH | oklch(35.35% 0.131 275.2) |
| XYZ | xyz(5.7774, 4.0525, 20.2124) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.74
Midnight Blue
#191970
ΔE00 6.17
Blueberry
#464196
ΔE00 6.56
Sapphire (survey)
#2138AB
ΔE00 7.00
Royal
#0C1793
ΔE00 7.52
Marine
#042E60
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F7E #7E7A2B
analogous
#2B587E #2B2F7E #502B7E
triadic
#2B2F7E #7E2B2F #2F7E2B
tetradic
#2B2F7E #7E2B58 #7E7A2B #2B7E50
square
#2B2F7E #7E2B58 #7E7A2B #2B7E50
split-complementary
#2B2F7E #7E502B #587E2B
monochromatic
#0C0D23 #1B1E50 #2B2F7E #3B40AC #5C61C7
Accessibility & contrast
On white
11.60
#2B2F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2B2F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F7E
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F7E | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b2f7e; /* rgb */ color: rgb(43, 47, 126); /* oklch */ color: oklch(35.3% 0.131 275.2);
Tailwind
colors: {
custom: {
50: '#6f67a4',
500: '#2b2f7e',
950: '#000000',
},
}SCSS
$custom: #2b2f7e; $custom-light: #6f67a4; $custom-dark: #000000;
JSON
{
"hex": "#2b2f7e",
"rgb": {
"r": 43,
"g": 47,
"b": 126
},
"hsl": {
"h": 237.108,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.35348,
"c": 0.13123,
"h": 275.2
},
"luminance": 0.04053
}Semantic roles & 50–950 ramp
primary
#2B2F7E
secondary
#ADA958
accent
#D24FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F