#23399F#23399F
#23399F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.167 H 268.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #23399F |
|---|---|
| RGB | rgb(35, 57, 159) |
| HSL | hsl(229, 64%, 38%) |
| HSV | hsv(229, 78%, 62%) |
| CMYK | cmyk(78%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.87, 29.44, -57.62) |
| CIE-LCH | lch(28.87, 64.70, 297.06°) |
| OKLab | oklab(39.82% -0.0054 -0.1666) |
| OKLCH | oklch(39.82% 0.167 268.1) |
| XYZ | xyz(8.4121, 5.7858, 33.4676) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.80
Blueberry
#464196
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 6.56
Cobalt (survey)
#1E488F
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23399F #9F8923
analogous
#23779F #23399F #4B239F
triadic
#23399F #9F2339 #399F23
tetradic
#23399F #9F2377 #9F8923 #239F4B
square
#23399F #9F2377 #9F8923 #239F4B
split-complementary
#23399F #9F4B23 #779F23
monochromatic
#0D153B #18276D #23399F #2E4BD1 #6076DC
Accessibility & contrast
On white
9.73
#23399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#23399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23399F
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23399F | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #23399f; /* rgb */ color: rgb(35, 57, 159); /* oklch */ color: oklch(39.8% 0.167 268.1);
Tailwind
colors: {
custom: {
50: '#736fbc',
500: '#23399f',
950: '#000000',
},
}SCSS
$custom: #23399f; $custom-light: #736fbc; $custom-dark: #000000;
JSON
{
"hex": "#23399f",
"rgb": {
"r": 35,
"g": 57,
"b": 159
},
"hsl": {
"h": 229.355,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.39824,
"c": 0.16674,
"h": 268.1
},
"luminance": 0.05787
}Semantic roles & 50–950 ramp
primary
#23399F
secondary
#C1AF5D
accent
#C941E7
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81