#23148F#23148F
#23148F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.184 H 274.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #23148F |
|---|---|
| RGB | rgb(35, 20, 143) |
| HSL | hsl(247, 75%, 32%) |
| HSV | hsv(247, 86%, 56%) |
| CMYK | cmyk(75.5%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(19.39, 45.42, -63.41) |
| CIE-LCH | lch(19.39, 77.99, 305.61°) |
| OKLab | oklab(32.55% 0.0145 -0.1833) |
| OKLCH | oklch(32.55% 0.184 274.5) |
| XYZ | xyz(5.8996, 2.8402, 26.2186) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.71
Cobalt Blue
#030AA7
ΔE00 3.45
Darkblue
#00008B
ΔE00 3.47
Royal Blue (survey)
#0504AA
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 4.07
Navy
#000080
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23148F #808F14
analogous
#14438F #23148F #61148F
triadic
#23148F #8F2314 #148F23
tetradic
#23148F #8F1443 #808F14 #148F61
square
#23148F #8F1443 #808F14 #148F61
split-complementary
#23148F #8F6114 #438F14
monochromatic
#090524 #160C59 #23148F #301CC5 #4F3AE3
Accessibility & contrast
On white
13.39
#23148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#23148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23148F
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23148F | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #23148f; /* rgb */ color: rgb(35, 20, 143); /* oklch */ color: oklch(32.5% 0.184 274.5);
Tailwind
colors: {
custom: {
50: '#7257b1',
500: '#23148f',
950: '#000000',
},
}SCSS
$custom: #23148f; $custom-light: #7257b1; $custom-dark: #000000;
JSON
{
"hex": "#23148f",
"rgb": {
"r": 35,
"g": 20,
"b": 143
},
"hsl": {
"h": 247.317,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.32549,
"c": 0.18387,
"h": 274.5
},
"luminance": 0.02841
}Semantic roles & 50–950 ramp
primary
#23148F
secondary
#B2C33C
accent
#F236DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880