#231874#231874
#231874 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.147 H 278.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #231874 |
|---|---|
| RGB | rgb(35, 24, 116) |
| HSL | hsl(247, 66%, 27%) |
| HSV | hsv(247, 79%, 45%) |
| CMYK | cmyk(69.8%, 79.3%, 0%, 54.5%) |
| CIE-LAB | lab(16.85, 34.77, -50.50) |
| CIE-LCH | lch(16.85, 61.31, 304.54°) |
| OKLab | oklab(29.84% 0.0205 -0.1459) |
| OKLCH | oklch(29.84% 0.147 278) |
| XYZ | xyz(4.1711, 2.2712, 16.7382) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.51
Dark Royal Blue
#02066F
ΔE00 4.17
Deep Blue
#040273
ΔE00 4.62
Darkblue (survey)
#030764
ΔE00 4.63
Royal
#0C1793
ΔE00 4.87
Navy
#000080
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231874 #697418
analogous
#183B74 #231874 #511874
triadic
#231874 #742318 #187423
tetradic
#231874 #74183B #697418 #187451
square
#231874 #74183B #697418 #187451
split-complementary
#231874 #745118 #3B7418
monochromatic
#080519 #140E41 #231874 #3222A7 #4532D5
Accessibility & contrast
On white
14.44
#231874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#231874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231874
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231874 | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #231874; /* rgb */ color: rgb(35, 24, 116); /* oklch */ color: oklch(29.8% 0.147 278.0);
Tailwind
colors: {
custom: {
50: '#6b579d',
500: '#231874',
950: '#000000',
},
}SCSS
$custom: #231874; $custom-light: #6b579d; $custom-dark: #000000;
JSON
{
"hex": "#231874",
"rgb": {
"r": 35,
"g": 24,
"b": 116
},
"hsl": {
"h": 247.174,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.29843,
"c": 0.14731,
"h": 278
},
"luminance": 0.02272
}Semantic roles & 50–950 ramp
primary
#231874
secondary
#9CA93F
accent
#E93FD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E