#2B247E#2B247E
#2B247E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.145 H 278.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2B247E |
|---|---|
| RGB | rgb(43, 36, 126) |
| HSL | hsl(245, 56%, 32%) |
| HSV | hsv(245, 71%, 49%) |
| CMYK | cmyk(65.9%, 71.4%, 0%, 50.6%) |
| CIE-LAB | lab(21.14, 32.05, -49.82) |
| CIE-LCH | lch(21.14, 59.23, 302.75°) |
| OKLab | oklab(33.38% 0.0215 -0.1437) |
| OKLCH | oklch(33.38% 0.145 278.5) |
| XYZ | xyz(5.3918, 3.2813, 20.0838) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.60
Royal
#0C1793
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 6.67
Dark Royal Blue
#02066F
ΔE00 7.15
Darkblue
#00008B
ΔE00 7.41
Navy
#000080
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B247E #777E24
analogous
#244A7E #2B247E #58247E
triadic
#2B247E #7E2B24 #247E2B
tetradic
#2B247E #7E244A #777E24 #247E58
square
#2B247E #7E244A #777E24 #247E58
split-complementary
#2B247E #7E5824 #4A7E24
monochromatic
#0B091F #1B164E #2B247E #3B32AE #5950CD
Accessibility & contrast
On white
12.68
#2B247E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2B247E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B247E
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B247E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B247E | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b247e; /* rgb */ color: rgb(43, 36, 126); /* oklch */ color: oklch(33.4% 0.145 278.5);
Tailwind
colors: {
custom: {
50: '#7060a4',
500: '#2b247e',
950: '#000000',
},
}SCSS
$custom: #2b247e; $custom-light: #7060a4; $custom-dark: #000000;
JSON
{
"hex": "#2b247e",
"rgb": {
"r": 43,
"g": 36,
"b": 126
},
"hsl": {
"h": 244.667,
"s": 55.556,
"l": 31.765
},
"oklch": {
"l": 0.33376,
"c": 0.14531,
"h": 278.5
},
"luminance": 0.03282
}Semantic roles & 50–950 ramp
primary
#2B247E
secondary
#A9B04E
accent
#DF49D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F