#231C74#231C74
#231C74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.143 H 277.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #231C74 |
|---|---|
| RGB | rgb(35, 28, 116) |
| HSL | hsl(245, 61%, 28%) |
| HSV | hsv(245, 76%, 45%) |
| CMYK | cmyk(69.8%, 75.9%, 0%, 54.5%) |
| CIE-LAB | lab(17.68, 32.42, -49.13) |
| CIE-LCH | lch(17.68, 58.86, 303.42°) |
| OKLab | oklab(30.43% 0.0179 -0.1419) |
| OKLCH | oklch(30.43% 0.143 277.2) |
| XYZ | xyz(4.2598, 2.4484, 16.7677) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.35
Dark Royal Blue
#02066F
ΔE00 5.01
Royal
#0C1793
ΔE00 5.09
Darkblue (survey)
#030764
ΔE00 5.33
Deep Blue
#040273
ΔE00 5.53
Navy
#000080
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C74 #6D741C
analogous
#1C4174 #231C74 #4F1C74
triadic
#231C74 #74231C #1C7423
tetradic
#231C74 #741C41 #6D741C #1C744F
square
#231C74 #741C41 #6D741C #1C744F
split-complementary
#231C74 #744F1C #41741C
monochromatic
#070619 #141043 #231C74 #3228A5 #473BD0
Accessibility & contrast
On white
14.10
#231C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#231C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C74
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C74 | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #231c74; /* rgb */ color: rgb(35, 28, 116); /* oklch */ color: oklch(30.4% 0.143 277.2);
Tailwind
colors: {
custom: {
50: '#6b599d',
500: '#231c74',
950: '#000000',
},
}SCSS
$custom: #231c74; $custom-light: #6b599d; $custom-dark: #000000;
JSON
{
"hex": "#231c74",
"rgb": {
"r": 35,
"g": 28,
"b": 116
},
"hsl": {
"h": 244.773,
"s": 61.111,
"l": 28.235
},
"oklch": {
"l": 0.30432,
"c": 0.14303,
"h": 277.2
},
"luminance": 0.02449
}Semantic roles & 50–950 ramp
primary
#231C74
secondary
#A0A843
accent
#E444D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E