#2C229E#2C229E
#2C229E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.188 H 275.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2C229E |
|---|---|
| RGB | rgb(44, 34, 158) |
| HSL | hsl(245, 65%, 38%) |
| HSV | hsv(245, 78%, 62%) |
| CMYK | cmyk(72.2%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(24.15, 44.03, -64.75) |
| CIE-LCH | lch(24.15, 78.30, 304.21°) |
| OKLab | oklab(36.54% 0.0174 -0.1872) |
| OKLCH | oklch(36.54% 0.188 275.3) |
| XYZ | xyz(7.7803, 4.1474, 32.7316) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.50
Royal
#0C1793
ΔE00 3.53
Cobalt Blue
#030AA7
ΔE00 4.30
Royal Blue (survey)
#0504AA
ΔE00 4.77
Ultramarine
#2000B1
ΔE00 4.83
True Blue
#010FCC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C229E #949E22
analogous
#22569E #2C229E #6A229E
triadic
#2C229E #9E2C22 #229E2C
tetradic
#2C229E #9E2256 #949E22 #229E6A
square
#2C229E #9E2256 #949E22 #229E6A
split-complementary
#2C229E #9E6A22 #569E22
monochromatic
#100C39 #1E176C #2C229E #3A2DD0 #685EDC
Accessibility & contrast
On white
11.48
#2C229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2C229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C229E
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C229E | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c229e; /* rgb */ color: rgb(44, 34, 158); /* oklch */ color: oklch(36.5% 0.188 275.3);
Tailwind
colors: {
custom: {
50: '#7860bc',
500: '#2c229e',
950: '#000000',
},
}SCSS
$custom: #2c229e; $custom-light: #7860bc; $custom-dark: #000000;
JSON
{
"hex": "#2c229e",
"rgb": {
"r": 44,
"g": 34,
"b": 158
},
"hsl": {
"h": 244.839,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.36538,
"c": 0.18803,
"h": 275.3
},
"luminance": 0.04148
}Semantic roles & 50–950 ramp
primary
#2C229E
secondary
#B9C15B
accent
#E840DA
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981