#23316E#23316E
#23316E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.107 H 270.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #23316E |
|---|---|
| RGB | rgb(35, 49, 110) |
| HSL | hsl(229, 52%, 28%) |
| HSV | hsv(229, 68%, 43%) |
| CMYK | cmyk(68.2%, 55.5%, 0%, 56.9%) |
| CIE-LAB | lab(22.58, 15.98, -37.27) |
| CIE-LCH | lch(22.58, 40.55, 293.21°) |
| OKLab | oklab(33.86% 0.0001 -0.107) |
| OKLCH | oklch(33.86% 0.107 270.1) |
| XYZ | xyz(4.6050, 3.6793, 15.2163) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.63
Marine Blue
#01386A
ΔE00 6.32
Navy Blue
#1B2A4A
ΔE00 6.87
Darkish Blue
#014182
ΔE00 7.75
Darkslateblue
#483D8B
ΔE00 7.75
Midnight Blue
#191970
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23316E #6E6023
analogous
#23566E #23316E #3A236E
triadic
#23316E #6E2331 #316E23
tetradic
#23316E #6E2356 #6E6023 #236E3A
square
#23316E #6E2356 #6E6023 #236E3A
split-complementary
#23316E #6E3A23 #566E23
monochromatic
#070A17 #141C40 #23316E #32469C #475EC4
Accessibility & contrast
On white
12.10
#23316E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#23316E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23316E
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23316E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23316E | 1.00 | 12.10 | 1.74 | 12.10 |
| #FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A3970
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #23316e; /* rgb */ color: rgb(35, 49, 110); /* oklch */ color: oklch(33.9% 0.107 270.1);
Tailwind
colors: {
custom: {
50: '#676898',
500: '#23316e',
950: '#000000',
},
}SCSS
$custom: #23316e; $custom-light: #676898; $custom-dark: #000000;
JSON
{
"hex": "#23316e",
"rgb": {
"r": 35,
"g": 49,
"b": 110
},
"hsl": {
"h": 228.8,
"s": 51.724,
"l": 28.431
},
"oklch": {
"l": 0.3386,
"c": 0.10698,
"h": 270.1
},
"luminance": 0.0368
}Semantic roles & 50–950 ramp
primary
#23316E
secondary
#A1914C
accent
#C14DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E