#23398F#23398F
#23398F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.145 H 267.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #23398F |
|---|---|
| RGB | rgb(35, 57, 143) |
| HSL | hsl(228, 61%, 35%) |
| HSV | hsv(228, 76%, 56%) |
| CMYK | cmyk(75.5%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(27.48, 23.29, -50.10) |
| CIE-LCH | lch(27.48, 55.25, 294.93°) |
| OKLab | oklab(38.37% -0.0053 -0.1446) |
| OKLCH | oklch(38.37% 0.145 267.9) |
| XYZ | xyz(7.1125, 5.2660, 26.6229) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 5.41
Cobalt (survey)
#1E488F
ΔE00 5.75
Cobalt
#0047AB
ΔE00 6.09
Darkish Blue
#014182
ΔE00 6.13
Darkslateblue
#483D8B
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23398F #8F7923
analogous
#236F8F #23398F #43238F
triadic
#23398F #8F2339 #398F23
tetradic
#23398F #8F236F #8F7923 #238F43
square
#23398F #8F236F #8F7923 #238F43
split-complementary
#23398F #8F4323 #6F8F23
monochromatic
#0B122D #17255E #23398F #2F4DC0 #5771D6
Accessibility & contrast
On white
10.23
#23398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#23398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23398F
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23398F | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #23398f; /* rgb */ color: rgb(35, 57, 143); /* oklch */ color: oklch(38.4% 0.145 267.9);
Tailwind
colors: {
custom: {
50: '#6e6fb1',
500: '#23398f',
950: '#000000',
},
}SCSS
$custom: #23398f; $custom-light: #6e6fb1; $custom-dark: #000000;
JSON
{
"hex": "#23398f",
"rgb": {
"r": 35,
"g": 57,
"b": 143
},
"hsl": {
"h": 227.778,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.38367,
"c": 0.14469,
"h": 267.9
},
"luminance": 0.05267
}Semantic roles & 50–950 ramp
primary
#23398F
secondary
#BAA554
accent
#C344E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80