#231A7B#231A7B
#231A7B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.154 H 276.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #231A7B |
|---|---|
| RGB | rgb(35, 26, 123) |
| HSL | hsl(246, 65%, 29%) |
| HSV | hsv(246, 79%, 48%) |
| CMYK | cmyk(71.5%, 78.9%, 0%, 51.8%) |
| CIE-LAB | lab(18.03, 35.99, -53.04) |
| CIE-LCH | lch(18.03, 64.10, 304.16°) |
| OKLab | oklab(30.91% 0.0176 -0.1533) |
| OKLCH | oklch(30.91% 0.154 276.5) |
| XYZ | xyz(4.6365, 2.5258, 18.9782) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.11
Royal
#0C1793
ΔE00 3.86
Dark Royal Blue
#02066F
ΔE00 4.67
Deep Blue
#040273
ΔE00 4.98
Indigo (survey)
#380282
ΔE00 5.02
Navy
#000080
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231A7B #727B1A
analogous
#1A427B #231A7B #541A7B
triadic
#231A7B #7B231A #1A7B23
tetradic
#231A7B #7B1A42 #727B1A #1A7B54
square
#231A7B #7B1A42 #727B1A #1A7B54
split-complementary
#231A7B #7B541A #427B1A
monochromatic
#070519 #150F48 #231A7B #3125AE #483AD5
Accessibility & contrast
On white
13.95
#231A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#231A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231A7B
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231A7B | 1.00 | 13.95 | 1.51 | 13.95 |
| #FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #231a7b; /* rgb */ color: rgb(35, 26, 123); /* oklch */ color: oklch(30.9% 0.154 276.5);
Tailwind
colors: {
custom: {
50: '#6c59a2',
500: '#231a7b',
950: '#000000',
},
}SCSS
$custom: #231a7b; $custom-light: #6c59a2; $custom-dark: #000000;
JSON
{
"hex": "#231a7b",
"rgb": {
"r": 35,
"g": 26,
"b": 123
},
"hsl": {
"h": 245.567,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.3091,
"c": 0.15429,
"h": 276.5
},
"luminance": 0.02526
}Semantic roles & 50–950 ramp
primary
#231A7B
secondary
#A5AF42
accent
#E840D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F