#231872#231872
#231872 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.145 H 278.3°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #231872 |
|---|---|
| RGB | rgb(35, 24, 114) |
| HSL | hsl(247, 65%, 27%) |
| HSV | hsv(247, 79%, 45%) |
| CMYK | cmyk(69.3%, 78.9%, 0%, 55.3%) |
| CIE-LAB | lab(16.63, 34.09, -49.58) |
| CIE-LCH | lch(16.63, 60.17, 304.52°) |
| OKLab | oklab(29.62% 0.021 -0.1432) |
| OKLCH | oklch(29.62% 0.145 278.3) |
| XYZ | xyz(4.0561, 2.2252, 16.1321) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.39
Dark Royal Blue
#02066F
ΔE00 4.20
Darkblue (survey)
#030764
ΔE00 4.52
Deep Blue
#040273
ΔE00 4.69
Royal
#0C1793
ΔE00 5.20
Navy
#000080
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231872 #677218
analogous
#183A72 #231872 #501872
triadic
#231872 #722318 #187223
tetradic
#231872 #72183A #677218 #187250
square
#231872 #72183A #677218 #187250
split-complementary
#231872 #725018 #3A7218
monochromatic
#080519 #130D3F #231872 #3323A5 #4531D4
Accessibility & contrast
On white
14.53
#231872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#231872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231872
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231872 | 1.00 | 14.53 | 1.45 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #231872; /* rgb */ color: rgb(35, 24, 114); /* oklch */ color: oklch(29.6% 0.145 278.3);
Tailwind
colors: {
custom: {
50: '#6a579c',
500: '#231872',
950: '#000000',
},
}SCSS
$custom: #231872; $custom-light: #6a579c; $custom-dark: #000000;
JSON
{
"hex": "#231872",
"rgb": {
"r": 35,
"g": 24,
"b": 114
},
"hsl": {
"h": 247.333,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.29619,
"c": 0.14471,
"h": 278.3
},
"luminance": 0.02225
}Semantic roles & 50–950 ramp
primary
#231872
secondary
#9BA73E
accent
#E840D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E