#231A7C#231A7C
#231A7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.156 H 276.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #231A7C |
|---|---|
| RGB | rgb(35, 26, 124) |
| HSL | hsl(246, 65%, 29%) |
| HSV | hsv(246, 79%, 49%) |
| CMYK | cmyk(71.8%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(18.15, 36.33, -53.49) |
| CIE-LCH | lch(18.15, 64.66, 304.18°) |
| OKLab | oklab(31.02% 0.0173 -0.1546) |
| OKLCH | oklch(31.02% 0.156 276.4) |
| XYZ | xyz(4.6994, 2.5509, 19.3096) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Royal
#0C1793
ΔE00 3.71
Dark Royal Blue
#02066F
ΔE00 4.71
Indigo (survey)
#380282
ΔE00 4.97
Navy
#000080
ΔE00 4.99
Deep Blue
#040273
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231A7C #737C1A
analogous
#1A427C #231A7C #541A7C
triadic
#231A7C #7C231A #1A7C23
tetradic
#231A7C #7C1A42 #737C1A #1A7C54
square
#231A7C #7C1A42 #737C1A #1A7C54
split-complementary
#231A7C #7C541A #427C1A
monochromatic
#070519 #150F49 #231A7C #3125AF #493BD6
Accessibility & contrast
On white
13.91
#231A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#231A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231A7C
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231A7C | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #231a7c; /* rgb */ color: rgb(35, 26, 124); /* oklch */ color: oklch(31.0% 0.156 276.4);
Tailwind
colors: {
custom: {
50: '#6d59a3',
500: '#231a7c',
950: '#000000',
},
}SCSS
$custom: #231a7c; $custom-light: #6d59a3; $custom-dark: #000000;
JSON
{
"hex": "#231a7c",
"rgb": {
"r": 35,
"g": 26,
"b": 124
},
"hsl": {
"h": 245.51,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.31022,
"c": 0.15557,
"h": 276.4
},
"luminance": 0.02551
}Semantic roles & 50–950 ramp
primary
#231A7C
secondary
#A6B042
accent
#E840D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F