#2B247C#2B247C
#2B247C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.143 H 278.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2B247C |
|---|---|
| RGB | rgb(43, 36, 124) |
| HSL | hsl(245, 55%, 31%) |
| HSV | hsv(245, 71%, 49%) |
| CMYK | cmyk(65.3%, 71%, 0%, 51.4%) |
| CIE-LAB | lab(20.94, 31.35, -48.87) |
| CIE-LCH | lch(20.94, 58.06, 302.68°) |
| OKLab | oklab(33.18% 0.0218 -0.1409) |
| OKLCH | oklch(33.18% 0.143 278.8) |
| XYZ | xyz(5.2641, 3.2302, 19.4110) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.47
Royal
#0C1793
ΔE00 5.23
Indigo (survey)
#380282
ΔE00 6.78
Dark Royal Blue
#02066F
ΔE00 7.14
Deep Blue
#040273
ΔE00 7.54
Darkblue
#00008B
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B247C #757C24
analogous
#24497C #2B247C #57247C
triadic
#2B247C #7C2B24 #247C2B
tetradic
#2B247C #7C2449 #757C24 #247C57
square
#2B247C #7C2449 #757C24 #247C57
split-complementary
#2B247C #7C5724 #497C24
monochromatic
#0A081D #1B164D #2B247C #3B32AB #594FCC
Accessibility & contrast
On white
12.76
#2B247C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2B247C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B247C
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B247C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B247C | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2b247c; /* rgb */ color: rgb(43, 36, 124); /* oklch */ color: oklch(33.2% 0.143 278.8);
Tailwind
colors: {
custom: {
50: '#6f5fa3',
500: '#2b247c',
950: '#000000',
},
}SCSS
$custom: #2b247c; $custom-light: #6f5fa3; $custom-dark: #000000;
JSON
{
"hex": "#2b247c",
"rgb": {
"r": 43,
"g": 36,
"b": 124
},
"hsl": {
"h": 244.773,
"s": 55,
"l": 31.373
},
"oklch": {
"l": 0.33177,
"c": 0.14261,
"h": 278.8
},
"luminance": 0.03231
}Semantic roles & 50–950 ramp
primary
#2B247C
secondary
#A7AE4D
accent
#DE49D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F