#231A7F#231A7F
#231A7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.159 H 276.0°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #231A7F |
|---|---|
| RGB | rgb(35, 26, 127) |
| HSL | hsl(245, 66%, 30%) |
| HSV | hsv(245, 80%, 50%) |
| CMYK | cmyk(72.4%, 79.5%, 0%, 50.2%) |
| CIE-LAB | lab(18.49, 37.33, -54.84) |
| CIE-LCH | lch(18.49, 66.34, 304.25°) |
| OKLab | oklab(31.36% 0.0166 -0.1585) |
| OKLCH | oklch(31.36% 0.159 276) |
| XYZ | xyz(4.8920, 2.6280, 20.3240) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.66
Royal
#0C1793
ΔE00 3.28
Indigo (survey)
#380282
ΔE00 4.84
Dark Royal Blue
#02066F
ΔE00 4.86
Darkblue
#00008B
ΔE00 4.88
Navy
#000080
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231A7F #767F1A
analogous
#1A437F #231A7F #561A7F
triadic
#231A7F #7F231A #1A7F23
tetradic
#231A7F #7F1A43 #767F1A #1A7F56
square
#231A7F #7F1A43 #767F1A #1A7F56
split-complementary
#231A7F #7F561A #437F1A
monochromatic
#070519 #15104C #231A7F #3124B2 #4A3CD7
Accessibility & contrast
On white
13.77
#231A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#231A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231A7F
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231A7F | 1.00 | 13.77 | 1.53 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #231a7f; /* rgb */ color: rgb(35, 26, 127); /* oklch */ color: oklch(31.4% 0.159 276.0);
Tailwind
colors: {
custom: {
50: '#6d59a5',
500: '#231a7f',
950: '#000000',
},
}SCSS
$custom: #231a7f; $custom-light: #6d59a5; $custom-dark: #000000;
JSON
{
"hex": "#231a7f",
"rgb": {
"r": 35,
"g": 26,
"b": 127
},
"hsl": {
"h": 245.347,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.31362,
"c": 0.15939,
"h": 276
},
"luminance": 0.02628
}Semantic roles & 50–950 ramp
primary
#231A7F
secondary
#A9B342
accent
#E93FDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F