#2C229F#2C229F
#2C229F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.189 H 275.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2C229F |
|---|---|
| RGB | rgb(44, 34, 159) |
| HSL | hsl(245, 65%, 38%) |
| HSV | hsv(245, 79%, 62%) |
| CMYK | cmyk(72.3%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(24.26, 44.35, -65.17) |
| CIE-LCH | lch(24.26, 78.83, 304.23°) |
| OKLab | oklab(36.65% 0.0172 -0.1885) |
| OKLCH | oklch(36.65% 0.189 275.2) |
| XYZ | xyz(7.8667, 4.1820, 33.1868) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.39
Royal
#0C1793
ΔE00 3.60
Cobalt Blue
#030AA7
ΔE00 4.28
Royal Blue (survey)
#0504AA
ΔE00 4.73
Ultramarine
#2000B1
ΔE00 4.77
True Blue
#010FCC
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C229F #959F22
analogous
#22569F #2C229F #6A229F
triadic
#2C229F #9F2C22 #229F2C
tetradic
#2C229F #9F2256 #959F22 #229F6A
square
#2C229F #9F2256 #959F22 #229F6A
split-complementary
#2C229F #9F6A22 #569F22
monochromatic
#100C3A #1E176D #2C229F #3A2DD1 #695FDD
Accessibility & contrast
On white
11.43
#2C229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C229F
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C229F | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c229f; /* rgb */ color: rgb(44, 34, 159); /* oklch */ color: oklch(36.6% 0.189 275.2);
Tailwind
colors: {
custom: {
50: '#7860bd',
500: '#2c229f',
950: '#000000',
},
}SCSS
$custom: #2c229f; $custom-light: #7860bd; $custom-dark: #000000;
JSON
{
"hex": "#2c229f",
"rgb": {
"r": 44,
"g": 34,
"b": 159
},
"hsl": {
"h": 244.8,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.36649,
"c": 0.18924,
"h": 275.2
},
"luminance": 0.04183
}Semantic roles & 50–950 ramp
primary
#2C229F
secondary
#B9C15B
accent
#E840DA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981