#231899#231899
#231899 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.193 H 273.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #231899 |
|---|---|
| RGB | rgb(35, 24, 153) |
| HSL | hsl(245, 73%, 35%) |
| HSV | hsv(245, 84%, 60%) |
| CMYK | cmyk(77.1%, 84.3%, 0%, 40%) |
| CIE-LAB | lab(21.24, 46.70, -66.52) |
| CIE-LCH | lch(21.24, 81.28, 305.07°) |
| OKLab | oklab(34.18% 0.0104 -0.1924) |
| OKLCH | oklch(34.18% 0.193 273.1) |
| XYZ | xyz(6.7676, 3.3098, 30.4130) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.79
Cobalt Blue
#030AA7
ΔE00 2.72
Royal Blue (survey)
#0504AA
ΔE00 3.24
Ultramarine
#2000B1
ΔE00 3.82
Indigo Blue
#3A18B1
ΔE00 4.16
Darkblue
#00008B
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231899 #8E9918
analogous
#184E99 #231899 #631899
triadic
#231899 #992318 #189923
tetradic
#231899 #99184E #8E9918 #189963
square
#231899 #99184E #8E9918 #189963
split-complementary
#231899 #996318 #4E9918
monochromatic
#0B072F #171064 #231899 #2F20CE #5649E2
Accessibility & contrast
On white
12.63
#231899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#231899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231899
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231899 | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00399C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #231899; /* rgb */ color: rgb(35, 24, 153); /* oklch */ color: oklch(34.2% 0.193 273.1);
Tailwind
colors: {
custom: {
50: '#745ab8',
500: '#231899',
950: '#000000',
},
}SCSS
$custom: #231899; $custom-light: #745ab8; $custom-dark: #000000;
JSON
{
"hex": "#231899",
"rgb": {
"r": 35,
"g": 24,
"b": 153
},
"hsl": {
"h": 245.116,
"s": 72.881,
"l": 34.706
},
"oklch": {
"l": 0.34182,
"c": 0.19269,
"h": 273.1
},
"luminance": 0.03311
}Semantic roles & 50–950 ramp
primary
#231899
secondary
#B9C449
accent
#F038E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981