#232C7E#232C7E
#232C7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.137 H 272.0°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #232C7E |
|---|---|
| RGB | rgb(35, 44, 126) |
| HSL | hsl(234, 57%, 32%) |
| HSV | hsv(234, 72%, 49%) |
| CMYK | cmyk(72.2%, 65.1%, 0%, 50.6%) |
| CIE-LAB | lab(22.53, 25.64, -47.56) |
| CIE-LCH | lch(22.53, 54.03, 298.33°) |
| OKLab | oklab(34.24% 0.0049 -0.1373) |
| OKLCH | oklch(34.24% 0.137 272) |
| XYZ | xyz(5.3584, 3.6645, 20.1595) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.38
Royal
#0C1793
ΔE00 6.72
Darkslateblue
#483D8B
ΔE00 6.90
Sapphire (survey)
#2138AB
ΔE00 7.07
Marine
#042E60
ΔE00 7.32
Blueberry
#464196
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#232C7E #7E7523
analogous
#235A7E #232C7E #48237E
triadic
#232C7E #7E232C #2C7E23
tetradic
#232C7E #7E235A #7E7523 #237E48
square
#232C7E #7E235A #7E7523 #237E48
split-complementary
#232C7E #7E4823 #5A7E23
monochromatic
#080B1E #161B4E #232C7E #303DAE #4E5ACE
Accessibility & contrast
On white
12.12
#232C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#232C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #232C7E
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##232C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##232C7E | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #232c7e; /* rgb */ color: rgb(35, 44, 126); /* oklch */ color: oklch(34.2% 0.137 272.0);
Tailwind
colors: {
custom: {
50: '#6b65a4',
500: '#232c7e',
950: '#000000',
},
}SCSS
$custom: #232c7e; $custom-light: #6b65a4; $custom-dark: #000000;
JSON
{
"hex": "#232c7e",
"rgb": {
"r": 35,
"g": 44,
"b": 126
},
"hsl": {
"h": 234.066,
"s": 56.522,
"l": 31.569
},
"oklch": {
"l": 0.3424,
"c": 0.13738,
"h": 272
},
"luminance": 0.03665
}Semantic roles & 50–950 ramp
primary
#232C7E
secondary
#B0A74C
accent
#D148E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F