#231B92#231B92
#231B92 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.182 H 273.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #231B92 |
|---|---|
| RGB | rgb(35, 27, 146) |
| HSL | hsl(244, 69%, 34%) |
| HSV | hsv(244, 82%, 57%) |
| CMYK | cmyk(76%, 81.5%, 0%, 42.7%) |
| CIE-LAB | lab(20.89, 43.04, -62.79) |
| CIE-LCH | lch(20.89, 76.13, 304.43°) |
| OKLab | oklab(33.69% 0.0113 -0.1816) |
| OKLCH | oklch(33.69% 0.182 273.6) |
| XYZ | xyz(6.2716, 3.2159, 27.4788) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.60
Cobalt Blue
#030AA7
ΔE00 3.73
Royal Blue (survey)
#0504AA
ΔE00 4.28
Darkblue
#00008B
ΔE00 4.69
Ultramarine
#2000B1
ΔE00 4.96
Indigo Blue
#3A18B1
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B92 #8A921B
analogous
#1B4F92 #231B92 #5F1B92
triadic
#231B92 #92231B #1B9223
tetradic
#231B92 #921B4F #8A921B #1B925F
square
#231B92 #921B4F #8A921B #1B925F
split-complementary
#231B92 #925F1B #4F921B
monochromatic
#0A082B #17115E #231B92 #2F25C6 #544ADE
Accessibility & contrast
On white
12.78
#231B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#231B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B92
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B92 | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002C90
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #231b92; /* rgb */ color: rgb(35, 27, 146); /* oklch */ color: oklch(33.7% 0.182 273.6);
Tailwind
colors: {
custom: {
50: '#725bb3',
500: '#231b92',
950: '#000000',
},
}SCSS
$custom: #231b92; $custom-light: #725bb3; $custom-dark: #000000;
JSON
{
"hex": "#231b92",
"rgb": {
"r": 35,
"g": 27,
"b": 146
},
"hsl": {
"h": 244.034,
"s": 68.786,
"l": 33.922
},
"oklch": {
"l": 0.3369,
"c": 0.18199,
"h": 273.6
},
"luminance": 0.03217
}Semantic roles & 50–950 ramp
primary
#231B92
secondary
#B7BF49
accent
#EC3CE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980