#231875#231875
#231875 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.149 H 277.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #231875 |
|---|---|
| RGB | rgb(35, 24, 117) |
| HSL | hsl(247, 66%, 28%) |
| HSV | hsv(247, 79%, 46%) |
| CMYK | cmyk(70.1%, 79.5%, 0%, 54.1%) |
| CIE-LAB | lab(16.96, 35.10, -50.96) |
| CIE-LCH | lch(16.96, 61.88, 304.56°) |
| OKLab | oklab(29.96% 0.0202 -0.1472) |
| OKLCH | oklch(29.96% 0.149 277.8) |
| XYZ | xyz(4.2296, 2.2946, 17.0462) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.59
Dark Royal Blue
#02066F
ΔE00 4.18
Deep Blue
#040273
ΔE00 4.59
Darkblue (survey)
#030764
ΔE00 4.69
Royal
#0C1793
ΔE00 4.71
Navy
#000080
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231875 #6A7518
analogous
#183B75 #231875 #521875
triadic
#231875 #752318 #187523
tetradic
#231875 #75183B #6A7518 #187552
square
#231875 #75183B #6A7518 #187552
split-complementary
#231875 #755218 #3B7518
monochromatic
#080519 #140E42 #231875 #3222A8 #4632D5
Accessibility & contrast
On white
14.39
#231875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#231875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231875
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231875 | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #231875; /* rgb */ color: rgb(35, 24, 117); /* oklch */ color: oklch(30.0% 0.149 277.8);
Tailwind
colors: {
custom: {
50: '#6b579e',
500: '#231875',
950: '#000000',
},
}SCSS
$custom: #231875; $custom-light: #6b579e; $custom-dark: #000000;
JSON
{
"hex": "#231875",
"rgb": {
"r": 35,
"g": 24,
"b": 117
},
"hsl": {
"h": 247.097,
"s": 65.957,
"l": 27.647
},
"oklch": {
"l": 0.29955,
"c": 0.1486,
"h": 277.8
},
"luminance": 0.02295
}Semantic roles & 50–950 ramp
primary
#231875
secondary
#9DAA3F
accent
#E93FD5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E