#232C7C#232C7C
#232C7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.135 H 272.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #232C7C |
|---|---|
| RGB | rgb(35, 44, 124) |
| HSL | hsl(234, 56%, 31%) |
| HSV | hsv(234, 72%, 49%) |
| CMYK | cmyk(71.8%, 64.5%, 0%, 51.4%) |
| CIE-LAB | lab(22.35, 24.88, -46.59) |
| CIE-LCH | lch(22.35, 52.82, 298.11°) |
| OKLab | oklab(34.05% 0.005 -0.1344) |
| OKLCH | oklch(34.05% 0.135 272.1) |
| XYZ | xyz(5.2307, 3.6134, 19.4867) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 6.96
Royal
#0C1793
ΔE00 6.96
Marine
#042E60
ΔE00 7.08
Sapphire (survey)
#2138AB
ΔE00 7.35
Blueberry
#464196
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#232C7C #7C7323
analogous
#23587C #232C7C #46237C
triadic
#232C7C #7C232C #2C7C23
tetradic
#232C7C #7C2358 #7C7323 #237C46
square
#232C7C #7C2358 #7C7323 #237C46
split-complementary
#232C7C #7C4623 #587C23
monochromatic
#080A1D #161B4C #232C7C #303DAC #4D5ACD
Accessibility & contrast
On white
12.19
#232C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#232C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #232C7C
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##232C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##232C7C | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #232c7c; /* rgb */ color: rgb(35, 44, 124); /* oklch */ color: oklch(34.1% 0.135 272.1);
Tailwind
colors: {
custom: {
50: '#6b65a3',
500: '#232c7c',
950: '#000000',
},
}SCSS
$custom: #232c7c; $custom-light: #6b65a3; $custom-dark: #000000;
JSON
{
"hex": "#232c7c",
"rgb": {
"r": 35,
"g": 44,
"b": 124
},
"hsl": {
"h": 233.933,
"s": 55.975,
"l": 31.176
},
"oklch": {
"l": 0.34052,
"c": 0.13453,
"h": 272.1
},
"luminance": 0.03614
}Semantic roles & 50–950 ramp
primary
#232C7C
secondary
#AFA54C
accent
#D049DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F