#23127F#23127F
#23127F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.166 H 277.0°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #23127F |
|---|---|
| RGB | rgb(35, 18, 127) |
| HSL | hsl(249, 75%, 28%) |
| HSV | hsv(249, 86%, 50%) |
| CMYK | cmyk(72.4%, 85.8%, 0%, 50.2%) |
| CIE-LAB | lab(17.09, 41.39, -57.15) |
| CIE-LCH | lch(17.09, 70.56, 305.91°) |
| OKLab | oklab(30.39% 0.0202 -0.1651) |
| OKLCH | oklch(30.39% 0.166 277) |
| XYZ | xyz(4.7390, 2.3218, 20.2730) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.36
Midnight Blue
#191970
ΔE00 3.43
Navy
#000080
ΔE00 3.47
Indigo (survey)
#380282
ΔE00 3.53
Darkblue
#00008B
ΔE00 3.55
Deep Blue
#040273
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23127F #6E7F12
analogous
#12377F #23127F #59127F
triadic
#23127F #7F2312 #127F23
tetradic
#23127F #7F1237 #6E7F12 #127F59
square
#23127F #7F1237 #6E7F12 #127F59
split-complementary
#23127F #7F5912 #377F12
monochromatic
#07041B #140A49 #23127F #321AB5 #472BE1
Accessibility & contrast
On white
14.34
#23127F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#23127F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23127F
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23127F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23127F | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #23127f; /* rgb */ color: rgb(35, 18, 127); /* oklch */ color: oklch(30.4% 0.166 277.0);
Tailwind
colors: {
custom: {
50: '#6e55a5',
500: '#23127f',
950: '#000000',
},
}SCSS
$custom: #23127f; $custom-light: #6e55a5; $custom-dark: #000000;
JSON
{
"hex": "#23127f",
"rgb": {
"r": 35,
"g": 18,
"b": 127
},
"hsl": {
"h": 249.358,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.30393,
"c": 0.16635,
"h": 277
},
"luminance": 0.02322
}Semantic roles & 50–950 ramp
primary
#23127F
secondary
#A1B538
accent
#F236D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F