#2C249F#2C249F
#2C249F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.187 H 275.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C249F |
|---|---|
| RGB | rgb(44, 36, 159) |
| HSL | hsl(244, 63%, 38%) |
| HSV | hsv(244, 77%, 62%) |
| CMYK | cmyk(72.3%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(24.64, 43.27, -64.56) |
| CIE-LCH | lch(24.64, 77.72, 303.84°) |
| OKLab | oklab(36.91% 0.0162 -0.1867) |
| OKLCH | oklch(36.91% 0.187 275) |
| XYZ | xyz(7.9255, 4.2997, 33.2064) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.64
Royal
#0C1793
ΔE00 3.86
Cobalt Blue
#030AA7
ΔE00 4.66
Royal Blue (survey)
#0504AA
ΔE00 5.12
Ultramarine
#2000B1
ΔE00 5.16
Sapphire (survey)
#2138AB
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C249F #979F24
analogous
#245A9F #2C249F #69249F
triadic
#2C249F #9F2C24 #249F2C
tetradic
#2C249F #9F245A #979F24 #249F69
square
#2C249F #9F245A #979F24 #249F69
split-complementary
#2C249F #9F6924 #5A9F24
monochromatic
#100D3B #1E196D #2C249F #3A30D0 #6A62DB
Accessibility & contrast
On white
11.29
#2C249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2C249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C249F
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C249F | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c249f; /* rgb */ color: rgb(44, 36, 159); /* oklch */ color: oklch(36.9% 0.187 275.0);
Tailwind
colors: {
custom: {
50: '#7861bd',
500: '#2c249f',
950: '#000000',
},
}SCSS
$custom: #2c249f; $custom-light: #7861bd; $custom-dark: #000000;
JSON
{
"hex": "#2c249f",
"rgb": {
"r": 44,
"g": 36,
"b": 159
},
"hsl": {
"h": 243.902,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.36912,
"c": 0.18739,
"h": 275
},
"luminance": 0.043
}Semantic roles & 50–950 ramp
primary
#2C249F
secondary
#BAC15E
accent
#E642DB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981