#232A7C#232A7C
#232A7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.137 H 272.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #232A7C |
|---|---|
| RGB | rgb(35, 42, 124) |
| HSL | hsl(235, 56%, 31%) |
| HSV | hsv(235, 72%, 49%) |
| CMYK | cmyk(71.8%, 66.1%, 0%, 51.4%) |
| CIE-LAB | lab(21.83, 26.25, -47.44) |
| CIE-LCH | lch(21.83, 54.22, 298.95°) |
| OKLab | oklab(33.67% 0.0066 -0.137) |
| OKLCH | oklch(33.67% 0.137 272.8) |
| XYZ | xyz(5.1580, 3.4680, 19.4624) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.76
Royal
#0C1793
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 7.21
Marine
#042E60
ΔE00 7.51
Sapphire (survey)
#2138AB
ΔE00 7.55
Blueberry
#464196
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#232A7C #7C7523
analogous
#23567C #232A7C #48237C
triadic
#232A7C #7C232A #2A7C23
tetradic
#232A7C #7C2356 #7C7523 #237C48
square
#232A7C #7C2356 #7C7523 #237C48
split-complementary
#232A7C #7C4823 #567C23
monochromatic
#080A1D #161A4C #232A7C #303AAC #4D57CD
Accessibility & contrast
On white
12.40
#232A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#232A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #232A7C
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##232A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##232A7C | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #232a7c; /* rgb */ color: rgb(35, 42, 124); /* oklch */ color: oklch(33.7% 0.137 272.8);
Tailwind
colors: {
custom: {
50: '#6b63a3',
500: '#232a7c',
950: '#000000',
},
}SCSS
$custom: #232a7c; $custom-light: #6b63a3; $custom-dark: #000000;
JSON
{
"hex": "#232a7c",
"rgb": {
"r": 35,
"g": 42,
"b": 124
},
"hsl": {
"h": 235.281,
"s": 55.975,
"l": 31.176
},
"oklch": {
"l": 0.33668,
"c": 0.13712,
"h": 272.8
},
"luminance": 0.03468
}Semantic roles & 50–950 ramp
primary
#232A7C
secondary
#AFA74C
accent
#D349DF
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F