#231A7E#231A7E
#231A7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.158 H 276.1°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #231A7E |
|---|---|
| RGB | rgb(35, 26, 126) |
| HSL | hsl(245, 66%, 30%) |
| HSV | hsv(245, 79%, 49%) |
| CMYK | cmyk(72.2%, 79.4%, 0%, 50.6%) |
| CIE-LAB | lab(18.37, 37.00, -54.39) |
| CIE-LCH | lch(18.37, 65.78, 304.23°) |
| OKLab | oklab(31.25% 0.0168 -0.1572) |
| OKLCH | oklch(31.25% 0.158 276.1) |
| XYZ | xyz(4.8272, 2.6020, 19.9825) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.52
Royal
#0C1793
ΔE00 3.42
Dark Royal Blue
#02066F
ΔE00 4.81
Indigo (survey)
#380282
ΔE00 4.88
Navy
#000080
ΔE00 4.92
Darkblue
#00008B
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231A7E #757E1A
analogous
#1A437E #231A7E #551A7E
triadic
#231A7E #7E231A #1A7E23
tetradic
#231A7E #7E1A43 #757E1A #1A7E55
square
#231A7E #7E1A43 #757E1A #1A7E55
split-complementary
#231A7E #7E551A #437E1A
monochromatic
#070519 #15104B #231A7E #3124B1 #4A3CD7
Accessibility & contrast
On white
13.81
#231A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#231A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231A7E
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231A7E | 1.00 | 13.81 | 1.52 | 13.81 |
| #FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #231a7e; /* rgb */ color: rgb(35, 26, 126); /* oklch */ color: oklch(31.2% 0.158 276.1);
Tailwind
colors: {
custom: {
50: '#6d59a4',
500: '#231a7e',
950: '#000000',
},
}SCSS
$custom: #231a7e; $custom-light: #6d59a4; $custom-dark: #000000;
JSON
{
"hex": "#231a7e",
"rgb": {
"r": 35,
"g": 26,
"b": 126
},
"hsl": {
"h": 245.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.31249,
"c": 0.15812,
"h": 276.1
},
"luminance": 0.02602
}Semantic roles & 50–950 ramp
primary
#231A7E
secondary
#A8B242
accent
#E93FD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F