#231AB3#231AB3
#231AB3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.221 H 270.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #231AB3 |
|---|---|
| RGB | rgb(35, 26, 179) |
| HSL | hsl(244, 75%, 40%) |
| HSV | hsv(244, 85%, 70%) |
| CMYK | cmyk(80.4%, 85.5%, 0%, 29.8%) |
| CIE-LAB | lab(24.80, 53.70, -76.39) |
| CIE-LCH | lch(24.80, 93.38, 305.11°) |
| OKLab | oklab(37.56% 0.0033 -0.221) |
| OKLCH | oklch(37.56% 0.221 270.8) |
| XYZ | xyz(9.1965, 4.3497, 42.9940) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.01
Ultramarine
#2000B1
ΔE00 2.90
True Blue
#010FCC
ΔE00 2.99
Cobalt Blue
#030AA7
ΔE00 3.33
Royal Blue (survey)
#0504AA
ΔE00 3.47
Mediumblue
#0000CD
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231AB3 #AAB31A
analogous
#1A5EB3 #231AB3 #6F1AB3
triadic
#231AB3 #B3231A #1AB323
tetradic
#231AB3 #B31A5E #AAB31A #1AB36F
square
#231AB3 #B31A5E #AAB31A #1AB36F
split-complementary
#231AB3 #B36F1A #5EB31A
monochromatic
#0E0A48 #19127E #231AB3 #352AE0 #6860E8
Accessibility & contrast
On white
11.23
#231AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#231AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231AB3
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231AB3 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #231ab3; /* rgb */ color: rgb(35, 26, 179); /* oklch */ color: oklch(37.6% 0.221 270.8);
Tailwind
colors: {
custom: {
50: '#7a5dcb',
500: '#231ab3',
950: '#000000',
},
}SCSS
$custom: #231ab3; $custom-light: #7a5dcb; $custom-dark: #000000;
JSON
{
"hex": "#231ab3",
"rgb": {
"r": 35,
"g": 26,
"b": 179
},
"hsl": {
"h": 243.529,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.37555,
"c": 0.22102,
"h": 270.8
},
"luminance": 0.04351
}Semantic roles & 50–950 ramp
primary
#231AB3
secondary
#C6CC5D
accent
#F137E6
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982