#231895#231895
#231895 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.188 H 273.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #231895 |
|---|---|
| RGB | rgb(35, 24, 149) |
| HSL | hsl(245, 72%, 34%) |
| HSV | hsv(245, 84%, 58%) |
| CMYK | cmyk(76.5%, 83.9%, 0%, 41.6%) |
| CIE-LAB | lab(20.75, 45.46, -64.88) |
| CIE-LCH | lch(20.75, 79.22, 305.02°) |
| OKLab | oklab(33.7% 0.0115 -0.1876) |
| OKLCH | oklch(33.7% 0.188 273.5) |
| XYZ | xyz(6.4428, 3.1798, 28.7022) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.55
Cobalt Blue
#030AA7
ΔE00 3.08
Royal Blue (survey)
#0504AA
ΔE00 3.60
Ultramarine
#2000B1
ΔE00 4.27
Darkblue
#00008B
ΔE00 4.31
Indigo Blue
#3A18B1
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231895 #8A9518
analogous
#184C95 #231895 #621895
triadic
#231895 #952318 #189523
tetradic
#231895 #95184C #8A9518 #189562
square
#231895 #95184C #8A9518 #189562
split-complementary
#231895 #956218 #4C9518
monochromatic
#0A072C #171060 #231895 #2F20CA #5446E1
Accessibility & contrast
On white
12.83
#231895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#231895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231895
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231895 | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002C93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #231895; /* rgb */ color: rgb(35, 24, 149); /* oklch */ color: oklch(33.7% 0.188 273.5);
Tailwind
colors: {
custom: {
50: '#7359b6',
500: '#231895',
950: '#000000',
},
}SCSS
$custom: #231895; $custom-light: #7359b6; $custom-dark: #000000;
JSON
{
"hex": "#231895",
"rgb": {
"r": 35,
"g": 24,
"b": 149
},
"hsl": {
"h": 245.28,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.33699,
"c": 0.18799,
"h": 273.5
},
"luminance": 0.03181
}Semantic roles & 50–950 ramp
primary
#231895
secondary
#B7C246
accent
#EF39DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980