#23309E#23309E
#23309E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.176 H 269.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #23309E |
|---|---|
| RGB | rgb(35, 48, 158) |
| HSL | hsl(234, 64%, 38%) |
| HSV | hsv(234, 78%, 62%) |
| CMYK | cmyk(77.8%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(26.56, 34.94, -60.80) |
| CIE-LCH | lch(26.56, 70.12, 299.88°) |
| OKLab | oklab(38.11% -0.0002 -0.176) |
| OKLCH | oklch(38.11% 0.176 269.9) |
| XYZ | xyz(7.9195, 4.9390, 32.8771) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.78
Royal
#0C1793
ΔE00 6.17
Blueberry
#464196
ΔE00 6.35
Indigo Blue
#3A18B1
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 7.00
Blue Blue
#2242C7
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23309E #9E9123
analogous
#236D9E #23309E #54239E
triadic
#23309E #9E2330 #309E23
tetradic
#23309E #9E236D #9E9123 #239E54
square
#23309E #9E236D #9E9123 #239E54
split-complementary
#23309E #9E5423 #6D9E23
monochromatic
#0D123A #18216C #23309E #2E3FD0 #606DDC
Accessibility & contrast
On white
10.56
#23309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#23309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23309E
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23309E | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #23309e; /* rgb */ color: rgb(35, 48, 158); /* oklch */ color: oklch(38.1% 0.176 269.9);
Tailwind
colors: {
custom: {
50: '#7368bc',
500: '#23309e',
950: '#000000',
},
}SCSS
$custom: #23309e; $custom-light: #7368bc; $custom-dark: #000000;
JSON
{
"hex": "#23309e",
"rgb": {
"r": 35,
"g": 48,
"b": 158
},
"hsl": {
"h": 233.659,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.3811,
"c": 0.17599,
"h": 269.9
},
"luminance": 0.0494
}Semantic roles & 50–950 ramp
primary
#23309E
secondary
#C1B65C
accent
#D541E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81