#2D247F#2D247F
#2D247F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.146 H 279.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2D247F |
|---|---|
| RGB | rgb(45, 36, 127) |
| HSL | hsl(246, 56%, 32%) |
| HSV | hsv(246, 72%, 50%) |
| CMYK | cmyk(64.6%, 71.7%, 0%, 50.2%) |
| CIE-LAB | lab(21.40, 32.69, -50.01) |
| CIE-LCH | lch(21.40, 59.75, 303.17°) |
| OKLab | oklab(33.64% 0.0241 -0.1442) |
| OKLCH | oklch(33.64% 0.146 279.5) |
| XYZ | xyz(5.5426, 3.3515, 20.4294) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.80
Royal
#0C1793
ΔE00 4.94
Indigo (survey)
#380282
ΔE00 6.47
Dark Royal Blue
#02066F
ΔE00 7.24
Darkblue
#00008B
ΔE00 7.39
Navy
#000080
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D247F #767F24
analogous
#24497F #2D247F #5B247F
triadic
#2D247F #7F2D24 #247F2D
tetradic
#2D247F #7F2449 #767F24 #247F5B
square
#2D247F #7F2449 #767F24 #247F5B
split-complementary
#2D247F #7F5B24 #497F24
monochromatic
#0B0920 #1C164F #2D247F #3E32AF #5C50CD
Accessibility & contrast
On white
12.57
#2D247F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2D247F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D247F
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D247F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D247F | 1.00 | 12.57 | 1.67 | 12.57 |
| #FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2d247f; /* rgb */ color: rgb(45, 36, 127); /* oklch */ color: oklch(33.6% 0.146 279.5);
Tailwind
colors: {
custom: {
50: '#7160a5',
500: '#2d247f',
950: '#000000',
},
}SCSS
$custom: #2d247f; $custom-light: #7160a5; $custom-dark: #000000;
JSON
{
"hex": "#2d247f",
"rgb": {
"r": 45,
"g": 36,
"b": 127
},
"hsl": {
"h": 245.934,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.33636,
"c": 0.14623,
"h": 279.5
},
"luminance": 0.03352
}Semantic roles & 50–950 ramp
primary
#2D247F
secondary
#A7B14E
accent
#DF49D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F