#2C247E#2C247E
#2C247E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.145 H 279.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C247E |
|---|---|
| RGB | rgb(44, 36, 126) |
| HSL | hsl(245, 56%, 32%) |
| HSV | hsv(245, 71%, 49%) |
| CMYK | cmyk(65.1%, 71.4%, 0%, 50.6%) |
| CIE-LAB | lab(21.22, 32.19, -49.68) |
| CIE-LCH | lch(21.22, 59.20, 302.94°) |
| OKLab | oklab(33.46% 0.0229 -0.1433) |
| OKLCH | oklch(33.46% 0.145 279.1) |
| XYZ | xyz(5.4343, 3.3032, 20.0858) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.66
Royal
#0C1793
ΔE00 5.01
Indigo (survey)
#380282
ΔE00 6.60
Dark Royal Blue
#02066F
ΔE00 7.19
Darkblue
#00008B
ΔE00 7.44
Navy
#000080
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C247E #767E24
analogous
#24497E #2C247E #59247E
triadic
#2C247E #7E2C24 #247E2C
tetradic
#2C247E #7E2449 #767E24 #247E59
square
#2C247E #7E2449 #767E24 #247E59
split-complementary
#2C247E #7E5924 #497E24
monochromatic
#0B091F #1B164E #2C247E #3D32AE #5B50CD
Accessibility & contrast
On white
12.64
#2C247E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2C247E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C247E
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C247E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C247E | 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)
#003681
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2c247e; /* rgb */ color: rgb(44, 36, 126); /* oklch */ color: oklch(33.5% 0.145 279.1);
Tailwind
colors: {
custom: {
50: '#7060a4',
500: '#2c247e',
950: '#000000',
},
}SCSS
$custom: #2c247e; $custom-light: #7060a4; $custom-dark: #000000;
JSON
{
"hex": "#2c247e",
"rgb": {
"r": 44,
"g": 36,
"b": 126
},
"hsl": {
"h": 245.333,
"s": 55.556,
"l": 31.765
},
"oklch": {
"l": 0.33456,
"c": 0.1451,
"h": 279.1
},
"luminance": 0.03304
}Semantic roles & 50–950 ramp
primary
#2C247E
secondary
#A7B04E
accent
#DF49D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F