#231C7A#231C7A
#231C7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.151 H 276.3°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #231C7A |
|---|---|
| RGB | rgb(35, 28, 122) |
| HSL | hsl(244, 63%, 29%) |
| HSV | hsv(244, 77%, 48%) |
| CMYK | cmyk(71.3%, 77%, 0%, 52.2%) |
| CIE-LAB | lab(18.33, 34.49, -51.91) |
| CIE-LCH | lch(18.33, 62.32, 303.60°) |
| OKLab | oklab(31.09% 0.0166 -0.15) |
| OKLCH | oklch(31.09% 0.151 276.3) |
| XYZ | xyz(4.6201, 2.5926, 18.6655) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.94
Royal
#0C1793
ΔE00 4.14
Dark Royal Blue
#02066F
ΔE00 5.03
Deep Blue
#040273
ΔE00 5.42
Indigo (survey)
#380282
ΔE00 5.52
Navy
#000080
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C7A #737A1C
analogous
#1C447A #231C7A #521C7A
triadic
#231C7A #7A231C #1C7A23
tetradic
#231C7A #7A1C44 #737A1C #1C7A52
square
#231C7A #7A1C44 #737A1C #1C7A52
split-complementary
#231C7A #7A521C #447A1C
monochromatic
#070619 #151148 #231C7A #3127AC #493ED3
Accessibility & contrast
On white
13.83
#231C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#231C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C7A
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C7A | 1.00 | 13.83 | 1.52 | 13.83 |
| #FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #231c7a; /* rgb */ color: rgb(35, 28, 122); /* oklch */ color: oklch(31.1% 0.151 276.3);
Tailwind
colors: {
custom: {
50: '#6c5aa1',
500: '#231c7a',
950: '#000000',
},
}SCSS
$custom: #231c7a; $custom-light: #6c5aa1; $custom-dark: #000000;
JSON
{
"hex": "#231c7a",
"rgb": {
"r": 35,
"g": 28,
"b": 122
},
"hsl": {
"h": 244.468,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.31087,
"c": 0.15094,
"h": 276.3
},
"luminance": 0.02593
}Semantic roles & 50–950 ramp
primary
#231C7A
secondary
#A6AE44
accent
#E642DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F