#231F6E#231F6E
#231F6E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.131 H 277.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #231F6E |
|---|---|
| RGB | rgb(35, 31, 110) |
| HSL | hsl(243, 56%, 28%) |
| HSV | hsv(243, 72%, 43%) |
| CMYK | cmyk(68.2%, 71.8%, 0%, 56.9%) |
| CIE-LAB | lab(17.75, 28.40, -45.14) |
| CIE-LCH | lch(17.75, 53.33, 302.18°) |
| OKLab | oklab(30.29% 0.0168 -0.1302) |
| OKLCH | oklch(30.29% 0.131 277.4) |
| XYZ | xyz(3.9967, 2.4628, 15.0136) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.97
Darkblue (survey)
#030764
ΔE00 5.92
Dark Royal Blue
#02066F
ΔE00 6.01
Dark Indigo
#1F0954
ΔE00 6.36
Royal
#0C1793
ΔE00 6.42
Deep Blue
#040273
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231F6E #6A6E1F
analogous
#1F426E #231F6E #4A1F6E
triadic
#231F6E #6E231F #1F6E23
tetradic
#231F6E #6E1F42 #6A6E1F #1F6E4A
square
#231F6E #6E1F42 #6A6E1F #1F6E4A
split-complementary
#231F6E #6E4A1F #426E1F
monochromatic
#080718 #14123E #231F6E #322C9E #463FC9
Accessibility & contrast
On white
14.07
#231F6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#231F6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231F6E
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231F6E | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #231f6e; /* rgb */ color: rgb(35, 31, 110); /* oklch */ color: oklch(30.3% 0.131 277.4);
Tailwind
colors: {
custom: {
50: '#695b98',
500: '#231f6e',
950: '#000000',
},
}SCSS
$custom: #231f6e; $custom-light: #695b98; $custom-dark: #000000;
JSON
{
"hex": "#231f6e",
"rgb": {
"r": 35,
"g": 31,
"b": 110
},
"hsl": {
"h": 243.038,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.30291,
"c": 0.13133,
"h": 277.4
},
"luminance": 0.02463
}Semantic roles & 50–950 ramp
primary
#231F6E
secondary
#9DA247
accent
#DF48D8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E