#23316C#23316C
#23316C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.104 H 270.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #23316C |
|---|---|
| RGB | rgb(35, 49, 108) |
| HSL | hsl(228, 51%, 28%) |
| HSV | hsv(228, 68%, 42%) |
| CMYK | cmyk(67.6%, 54.6%, 0%, 57.6%) |
| CIE-LAB | lab(22.43, 15.20, -36.22) |
| CIE-LCH | lch(22.43, 39.28, 292.76°) |
| OKLab | oklab(33.7% -0.0001 -0.1039) |
| OKLCH | oklch(33.7% 0.104 270) |
| XYZ | xyz(4.4973, 3.6363, 14.6493) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.47
Marine Blue
#01386A
ΔE00 6.25
Navy Blue
#1B2A4A
ΔE00 6.55
Darkish Blue
#014182
ΔE00 7.82
Midnight Blue
#191970
ΔE00 7.98
Darkslateblue
#483D8B
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23316C #6C5E23
analogous
#23556C #23316C #39236C
triadic
#23316C #6C2331 #316C23
tetradic
#23316C #6C2355 #6C5E23 #236C39
square
#23316C #6C2355 #6C5E23 #236C39
split-complementary
#23316C #6C3923 #556C23
monochromatic
#070A17 #141C3E #23316C #32469A #465EC3
Accessibility & contrast
On white
12.16
#23316C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#23316C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23316C
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23316C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23316C | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D396E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #23316c; /* rgb */ color: rgb(35, 49, 108); /* oklch */ color: oklch(33.7% 0.104 270.0);
Tailwind
colors: {
custom: {
50: '#676897',
500: '#23316c',
950: '#000000',
},
}SCSS
$custom: #23316c; $custom-light: #676897; $custom-dark: #000000;
JSON
{
"hex": "#23316c",
"rgb": {
"r": 35,
"g": 49,
"b": 108
},
"hsl": {
"h": 228.493,
"s": 51.049,
"l": 28.039
},
"oklch": {
"l": 0.33698,
"c": 0.10391,
"h": 270
},
"luminance": 0.03637
}Semantic roles & 50–950 ramp
primary
#23316C
secondary
#9F8F4B
accent
#BF4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E