#231C6F#231C6F
#231C6F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.136 H 278.0°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #231C6F |
|---|---|
| RGB | rgb(35, 28, 111) |
| HSL | hsl(245, 60%, 27%) |
| HSV | hsv(245, 75%, 44%) |
| CMYK | cmyk(68.5%, 74.8%, 0%, 56.5%) |
| CIE-LAB | lab(17.16, 30.66, -46.76) |
| CIE-LCH | lch(17.16, 55.92, 303.26°) |
| OKLab | oklab(29.9% 0.019 -0.135) |
| OKLCH | oklch(29.9% 0.136 278) |
| XYZ | xyz(3.9767, 2.3352, 15.2770) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.36
Dark Royal Blue
#02066F
ΔE00 5.18
Darkblue (survey)
#030764
ΔE00 5.20
Deep Blue
#040273
ΔE00 5.80
Dark Indigo
#1F0954
ΔE00 5.86
Royal
#0C1793
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C6F #686F1C
analogous
#1C3F6F #231C6F #4C1C6F
triadic
#231C6F #6F231C #1C6F23
tetradic
#231C6F #6F1C3F #686F1C #1C6F4C
square
#231C6F #6F1C3F #686F1C #1C6F4C
split-complementary
#231C6F #6F4C1C #3F6F1C
monochromatic
#080618 #14103E #231C6F #3228A0 #4538CD
Accessibility & contrast
On white
14.31
#231C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#231C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C6F
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C6F | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #231c6f; /* rgb */ color: rgb(35, 28, 111); /* oklch */ color: oklch(29.9% 0.136 278.0);
Tailwind
colors: {
custom: {
50: '#695999',
500: '#231c6f',
950: '#000000',
},
}SCSS
$custom: #231c6f; $custom-light: #695999; $custom-dark: #000000;
JSON
{
"hex": "#231c6f",
"rgb": {
"r": 35,
"g": 28,
"b": 111
},
"hsl": {
"h": 245.06,
"s": 59.712,
"l": 27.255
},
"oklch": {
"l": 0.29897,
"c": 0.13631,
"h": 278
},
"luminance": 0.02336
}Semantic roles & 50–950 ramp
primary
#231C6F
secondary
#9BA443
accent
#E345D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E