#2C238F#2C238F
#2C238F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.168 H 276.9°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2C238F |
|---|---|
| RGB | rgb(44, 35, 143) |
| HSL | hsl(245, 61%, 35%) |
| HSV | hsv(245, 76%, 56%) |
| CMYK | cmyk(69.2%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(22.72, 38.56, -57.87) |
| CIE-LCH | lch(22.72, 69.54, 303.67°) |
| OKLab | oklab(35.05% 0.0203 -0.1672) |
| OKLCH | oklch(35.05% 0.168 276.9) |
| XYZ | xyz(6.5960, 3.7201, 26.3517) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.37
Midnight Blue
#191970
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 5.47
Royal Blue (survey)
#0504AA
ΔE00 6.00
Indigo (survey)
#380282
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C238F #868F23
analogous
#23508F #2C238F #62238F
triadic
#2C238F #8F2C23 #238F2C
tetradic
#2C238F #8F2350 #868F23 #238F62
square
#2C238F #8F2350 #868F23 #238F62
split-complementary
#2C238F #8F6223 #508F23
monochromatic
#0E0B2D #1D175E #2C238F #3B2FC0 #6157D6
Accessibility & contrast
On white
12.04
#2C238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2C238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C238F
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C238F | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c238f; /* rgb */ color: rgb(44, 35, 143); /* oklch */ color: oklch(35.0% 0.168 276.9);
Tailwind
colors: {
custom: {
50: '#7460b1',
500: '#2c238f',
950: '#000000',
},
}SCSS
$custom: #2c238f; $custom-light: #7460b1; $custom-dark: #000000;
JSON
{
"hex": "#2c238f",
"rgb": {
"r": 44,
"g": 35,
"b": 143
},
"hsl": {
"h": 245,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.35049,
"c": 0.16844,
"h": 276.9
},
"luminance": 0.03721
}Semantic roles & 50–950 ramp
primary
#2C238F
secondary
#B1BA54
accent
#E444D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980