#231774#231774
#231774 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.148 H 278.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #231774 |
|---|---|
| RGB | rgb(35, 23, 116) |
| HSL | hsl(248, 67%, 27%) |
| HSV | hsv(248, 80%, 45%) |
| CMYK | cmyk(69.8%, 80.2%, 0%, 54.5%) |
| CIE-LAB | lab(16.65, 35.33, -50.82) |
| CIE-LCH | lch(16.65, 61.90, 304.80°) |
| OKLab | oklab(29.71% 0.0211 -0.1468) |
| OKLCH | oklch(29.71% 0.148 278.2) |
| XYZ | xyz(4.1509, 2.2307, 16.7314) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.64
Dark Royal Blue
#02066F
ΔE00 3.99
Deep Blue
#040273
ΔE00 4.41
Darkblue (survey)
#030764
ΔE00 4.49
Royal
#0C1793
ΔE00 4.85
Navy
#000080
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231774 #687417
analogous
#173A74 #231774 #521774
triadic
#231774 #742317 #177423
tetradic
#231774 #74173A #687417 #177452
square
#231774 #74173A #687417 #177452
split-complementary
#231774 #745217 #3A7417
monochromatic
#08051A #140D41 #231774 #3221A7 #4530D6
Accessibility & contrast
On white
14.52
#231774 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#231774 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231774
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231774 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231774 | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #231774; /* rgb */ color: rgb(35, 23, 116); /* oklch */ color: oklch(29.7% 0.148 278.2);
Tailwind
colors: {
custom: {
50: '#6b569d',
500: '#231774',
950: '#000000',
},
}SCSS
$custom: #231774; $custom-light: #6b569d; $custom-dark: #000000;
JSON
{
"hex": "#231774",
"rgb": {
"r": 35,
"g": 23,
"b": 116
},
"hsl": {
"h": 247.742,
"s": 66.906,
"l": 27.255
},
"oklch": {
"l": 0.29705,
"c": 0.14832,
"h": 278.2
},
"luminance": 0.02231
}Semantic roles & 50–950 ramp
primary
#231774
secondary
#9BA93D
accent
#EA3ED4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E