#23319F#23319F
#23319F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.176 H 269.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #23319F |
|---|---|
| RGB | rgb(35, 49, 159) |
| HSL | hsl(233, 64%, 38%) |
| HSV | hsv(233, 78%, 62%) |
| CMYK | cmyk(78%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.89, 34.66, -60.85) |
| CIE-LCH | lch(26.89, 70.03, 299.67°) |
| OKLab | oklab(38.38% -0.0008 -0.1762) |
| OKLCH | oklch(38.38% 0.176 269.7) |
| XYZ | xyz(8.0473, 5.0563, 33.3460) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.49
Blueberry
#464196
ΔE00 6.21
Royal
#0C1793
ΔE00 6.46
Indigo Blue
#3A18B1
ΔE00 6.75
Darkslateblue
#483D8B
ΔE00 6.95
Blue Blue
#2242C7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23319F #9F9123
analogous
#236F9F #23319F #53239F
triadic
#23319F #9F2331 #319F23
tetradic
#23319F #9F236F #9F9123 #239F53
square
#23319F #9F236F #9F9123 #239F53
split-complementary
#23319F #9F5323 #6F9F23
monochromatic
#0D123B #18226D #23319F #2E41D1 #606EDC
Accessibility & contrast
On white
10.44
#23319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#23319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23319F
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23319F | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #23319f; /* rgb */ color: rgb(35, 49, 159); /* oklch */ color: oklch(38.4% 0.176 269.7);
Tailwind
colors: {
custom: {
50: '#7369bc',
500: '#23319f',
950: '#000000',
},
}SCSS
$custom: #23319f; $custom-light: #7369bc; $custom-dark: #000000;
JSON
{
"hex": "#23319f",
"rgb": {
"r": 35,
"g": 49,
"b": 159
},
"hsl": {
"h": 233.226,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.38382,
"c": 0.17616,
"h": 269.7
},
"luminance": 0.05057
}Semantic roles & 50–950 ramp
primary
#23319F
secondary
#C1B65D
accent
#D441E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81