#23309F#23309F
#23309F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.177 H 269.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #23309F |
|---|---|
| RGB | rgb(35, 48, 159) |
| HSL | hsl(234, 64%, 38%) |
| HSV | hsv(234, 78%, 62%) |
| CMYK | cmyk(78%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.66, 35.30, -61.24) |
| CIE-LCH | lch(26.66, 70.69, 299.96°) |
| OKLab | oklab(38.21% -0.0003 -0.1773) |
| OKLCH | oklch(38.21% 0.177 269.9) |
| XYZ | xyz(8.0060, 4.9735, 33.3322) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.71
Royal
#0C1793
ΔE00 6.19
Blueberry
#464196
ΔE00 6.38
Indigo Blue
#3A18B1
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 7.06
Blue Blue
#2242C7
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23309F #9F9223
analogous
#236E9F #23309F #54239F
triadic
#23309F #9F2330 #309F23
tetradic
#23309F #9F236E #9F9223 #239F54
square
#23309F #9F236E #9F9223 #239F54
split-complementary
#23309F #9F5423 #6E9F23
monochromatic
#0D123B #18216D #23309F #2E3FD1 #606DDC
Accessibility & contrast
On white
10.53
#23309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#23309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23309F
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23309F | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #23309f; /* rgb */ color: rgb(35, 48, 159); /* oklch */ color: oklch(38.2% 0.177 269.9);
Tailwind
colors: {
custom: {
50: '#7369bc',
500: '#23309f',
950: '#000000',
},
}SCSS
$custom: #23309f; $custom-light: #7369bc; $custom-dark: #000000;
JSON
{
"hex": "#23309f",
"rgb": {
"r": 35,
"g": 48,
"b": 159
},
"hsl": {
"h": 233.71,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.38212,
"c": 0.17729,
"h": 269.9
},
"luminance": 0.04974
}Semantic roles & 50–950 ramp
primary
#23309F
secondary
#C1B75D
accent
#D641E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81