#2B247F#2B247F
#2B247F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.147 H 278.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2B247F |
|---|---|
| RGB | rgb(43, 36, 127) |
| HSL | hsl(245, 56%, 32%) |
| HSV | hsv(245, 72%, 50%) |
| CMYK | cmyk(66.1%, 71.7%, 0%, 50.2%) |
| CIE-LAB | lab(21.23, 32.39, -50.29) |
| CIE-LCH | lch(21.23, 59.82, 302.79°) |
| OKLab | oklab(33.48% 0.0213 -0.1451) |
| OKLCH | oklch(33.48% 0.147 278.4) |
| XYZ | xyz(5.4567, 3.3072, 20.4254) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.67
Royal
#0C1793
ΔE00 4.84
Indigo (survey)
#380282
ΔE00 6.62
Dark Royal Blue
#02066F
ΔE00 7.17
Darkblue
#00008B
ΔE00 7.34
Navy
#000080
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B247F #787F24
analogous
#244B7F #2B247F #58247F
triadic
#2B247F #7F2B24 #247F2B
tetradic
#2B247F #7F244B #787F24 #247F58
square
#2B247F #7F244B #787F24 #247F58
split-complementary
#2B247F #7F5824 #4B7F24
monochromatic
#0B0920 #1B164F #2B247F #3B32AF #5A50CD
Accessibility & contrast
On white
12.64
#2B247F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2B247F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B247F
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B247F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B247F | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b247f; /* rgb */ color: rgb(43, 36, 127); /* oklch */ color: oklch(33.5% 0.147 278.4);
Tailwind
colors: {
custom: {
50: '#7060a5',
500: '#2b247f',
950: '#000000',
},
}SCSS
$custom: #2b247f; $custom-light: #7060a5; $custom-dark: #000000;
JSON
{
"hex": "#2b247f",
"rgb": {
"r": 43,
"g": 36,
"b": 127
},
"hsl": {
"h": 244.615,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.33475,
"c": 0.14666,
"h": 278.4
},
"luminance": 0.03308
}Semantic roles & 50–950 ramp
primary
#2B247F
secondary
#AAB14E
accent
#DF49D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F