#23318F#23318F
#23318F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.155 H 270.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #23318F |
|---|---|
| RGB | rgb(35, 49, 143) |
| HSL | hsl(232, 61%, 35%) |
| HSV | hsv(232, 76%, 56%) |
| CMYK | cmyk(75.5%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(25.37, 28.71, -53.54) |
| CIE-LCH | lch(25.37, 60.76, 298.20°) |
| OKLab | oklab(36.81% 0.0004 -0.1548) |
| OKLCH | oklch(36.81% 0.155 270.1) |
| XYZ | xyz(6.7477, 4.5364, 26.5013) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.30
Royal
#0C1793
ΔE00 6.75
Midnight Blue
#191970
ΔE00 7.48
Cobalt
#0047AB
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23318F #8F8123
analogous
#23678F #23318F #4B238F
triadic
#23318F #8F2331 #318F23
tetradic
#23318F #8F2367 #8F8123 #238F4B
square
#23318F #8F2367 #8F8123 #238F4B
split-complementary
#23318F #8F4B23 #678F23
monochromatic
#0B0F2D #17205E #23318F #2F42C0 #5767D6
Accessibility & contrast
On white
11.01
#23318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#23318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23318F
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23318F | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #23318f; /* rgb */ color: rgb(35, 49, 143); /* oklch */ color: oklch(36.8% 0.155 270.1);
Tailwind
colors: {
custom: {
50: '#6f69b1',
500: '#23318f',
950: '#000000',
},
}SCSS
$custom: #23318f; $custom-light: #6f69b1; $custom-dark: #000000;
JSON
{
"hex": "#23318f",
"rgb": {
"r": 35,
"g": 49,
"b": 143
},
"hsl": {
"h": 232.222,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.36806,
"c": 0.15478,
"h": 270.1
},
"luminance": 0.04537
}Semantic roles & 50–950 ramp
primary
#23318F
secondary
#BAAD54
accent
#CF44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80