#231B6E#231B6E
#231B6E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.136 H 278.4°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #231B6E |
|---|---|
| RGB | rgb(35, 27, 110) |
| HSL | hsl(246, 61%, 27%) |
| HSV | hsv(246, 75%, 43%) |
| CMYK | cmyk(68.2%, 75.5%, 0%, 56.9%) |
| CIE-LAB | lab(16.83, 30.93, -46.65) |
| CIE-LCH | lch(16.83, 55.97, 303.55°) |
| OKLab | oklab(29.63% 0.0199 -0.1347) |
| OKLCH | oklch(29.63% 0.136 278.4) |
| XYZ | xyz(3.8986, 2.2667, 14.9809) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.34
Darkblue (survey)
#030764
ΔE00 4.98
Dark Royal Blue
#02066F
ΔE00 5.00
Dark Indigo
#1F0954
ΔE00 5.58
Deep Blue
#040273
ΔE00 5.62
Royal
#0C1793
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B6E #666E1B
analogous
#1B3D6E #231B6E #4D1B6E
triadic
#231B6E #6E231B #1B6E23
tetradic
#231B6E #6E1B3D #666E1B #1B6E4D
square
#231B6E #6E1B3D #666E1B #1B6E4D
split-complementary
#231B6E #6E4D1B #3D6E1B
monochromatic
#080619 #130F3D #231B6E #33279F #4436CE
Accessibility & contrast
On white
14.45
#231B6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#231B6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B6E
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B6E | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #231b6e; /* rgb */ color: rgb(35, 27, 110); /* oklch */ color: oklch(29.6% 0.136 278.4);
Tailwind
colors: {
custom: {
50: '#695898',
500: '#231b6e',
950: '#000000',
},
}SCSS
$custom: #231b6e; $custom-light: #695898; $custom-dark: #000000;
JSON
{
"hex": "#231b6e",
"rgb": {
"r": 35,
"g": 27,
"b": 110
},
"hsl": {
"h": 245.783,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.29632,
"c": 0.13612,
"h": 278.4
},
"luminance": 0.02267
}Semantic roles & 50–950 ramp
primary
#231B6E
secondary
#9AA342
accent
#E444D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E