#231B8C#231B8C
#231B8C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.175 H 274.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #231B8C |
|---|---|
| RGB | rgb(35, 27, 140) |
| HSL | hsl(244, 68%, 33%) |
| HSV | hsv(244, 81%, 55%) |
| CMYK | cmyk(75%, 80.7%, 0%, 45.1%) |
| CIE-LAB | lab(20.18, 41.09, -60.23) |
| CIE-LCH | lch(20.18, 72.91, 304.31°) |
| OKLab | oklab(32.99% 0.0128 -0.1742) |
| OKLCH | oklch(32.99% 0.175 274.2) |
| XYZ | xyz(5.8171, 3.0341, 25.0849) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.83
Cobalt Blue
#030AA7
ΔE00 4.40
Midnight Blue
#191970
ΔE00 4.50
Darkblue
#00008B
ΔE00 4.61
Royal Blue (survey)
#0504AA
ΔE00 4.94
Indigo (survey)
#380282
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B8C #848C1B
analogous
#1B4B8C #231B8C #5C1B8C
triadic
#231B8C #8C231B #1B8C23
tetradic
#231B8C #8C1B4B #848C1B #1B8C5C
square
#231B8C #8C1B4B #848C1B #1B8C5C
split-complementary
#231B8C #8C5C1B #4B8C1B
monochromatic
#090725 #161159 #231B8C #3025BF #5146DB
Accessibility & contrast
On white
13.07
#231B8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#231B8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B8C
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B8C | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #231b8c; /* rgb */ color: rgb(35, 27, 140); /* oklch */ color: oklch(33.0% 0.175 274.2);
Tailwind
colors: {
custom: {
50: '#715aaf',
500: '#231b8c',
950: '#000000',
},
}SCSS
$custom: #231b8c; $custom-light: #715aaf; $custom-dark: #000000;
JSON
{
"hex": "#231b8c",
"rgb": {
"r": 35,
"g": 27,
"b": 140
},
"hsl": {
"h": 244.248,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.32989,
"c": 0.17468,
"h": 274.2
},
"luminance": 0.03035
}Semantic roles & 50–950 ramp
primary
#231B8C
secondary
#B4BD46
accent
#EB3DDE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980