#231A9F#231A9F
#231A9F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.198 H 272.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #231A9F |
|---|---|
| RGB | rgb(35, 26, 159) |
| HSL | hsl(244, 72%, 36%) |
| HSV | hsv(244, 84%, 62%) |
| CMYK | cmyk(78%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(22.30, 47.64, -68.45) |
| CIE-LCH | lch(22.30, 83.40, 304.84°) |
| OKLab | oklab(35.12% 0.0083 -0.198) |
| OKLCH | oklch(35.12% 0.198 272.4) |
| XYZ | xyz(7.3184, 3.5985, 33.1030) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.41
Cobalt Blue
#030AA7
ΔE00 2.64
Royal Blue (survey)
#0504AA
ΔE00 3.13
Indigo Blue
#3A18B1
ΔE00 3.47
Ultramarine
#2000B1
ΔE00 3.49
Darkblue
#00008B
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231A9F #969F1A
analogous
#1A549F #231A9F #661A9F
triadic
#231A9F #9F231A #1A9F23
tetradic
#231A9F #9F1A54 #969F1A #1A9F66
square
#231A9F #9F1A54 #969F1A #1A9F66
split-complementary
#231A9F #9F661A #549F1A
monochromatic
#0C0936 #17116A #231A9F #2F23D4 #5B51E3
Accessibility & contrast
On white
12.21
#231A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#231A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231A9F
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231A9F | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #231a9f; /* rgb */ color: rgb(35, 26, 159); /* oklch */ color: oklch(35.1% 0.198 272.4);
Tailwind
colors: {
custom: {
50: '#755bbd',
500: '#231a9f',
950: '#000000',
},
}SCSS
$custom: #231a9f; $custom-light: #755bbd; $custom-dark: #000000;
JSON
{
"hex": "#231a9f",
"rgb": {
"r": 35,
"g": 26,
"b": 159
},
"hsl": {
"h": 244.06,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.35122,
"c": 0.19821,
"h": 272.4
},
"luminance": 0.03599
}Semantic roles & 50–950 ramp
primary
#231A9F
secondary
#BDC550
accent
#EF39E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981