#23336E#23336E
#23336E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.104 H 268.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #23336E |
|---|---|
| RGB | rgb(35, 51, 110) |
| HSL | hsl(227, 52%, 28%) |
| HSV | hsv(227, 68%, 43%) |
| CMYK | cmyk(68.2%, 53.6%, 0%, 56.9%) |
| CIE-LAB | lab(23.17, 14.56, -36.32) |
| CIE-LCH | lch(23.17, 39.13, 291.85°) |
| OKLab | oklab(34.31% -0.002 -0.1042) |
| OKLCH | oklch(34.31% 0.104 268.9) |
| XYZ | xyz(4.6905, 3.8503, 15.2448) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.37
Marine Blue
#01386A
ΔE00 5.74
Navy Blue
#1B2A4A
ΔE00 6.78
Darkish Blue
#014182
ΔE00 7.13
Twilight Blue
#0A437A
ΔE00 7.70
Darkslateblue
#483D8B
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23336E #6E5E23
analogous
#23586E #23336E #38236E
triadic
#23336E #6E2333 #336E23
tetradic
#23336E #6E2358 #6E5E23 #236E38
square
#23336E #6E2358 #6E5E23 #236E38
split-complementary
#23336E #6E3823 #586E23
monochromatic
#070B17 #141D40 #23336E #32499C #4762C4
Accessibility & contrast
On white
11.86
#23336E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#23336E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23336E
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23336E | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #23336e; /* rgb */ color: rgb(35, 51, 110); /* oklch */ color: oklch(34.3% 0.104 268.9);
Tailwind
colors: {
custom: {
50: '#676a98',
500: '#23336e',
950: '#000000',
},
}SCSS
$custom: #23336e; $custom-light: #676a98; $custom-dark: #000000;
JSON
{
"hex": "#23336e",
"rgb": {
"r": 35,
"g": 51,
"b": 110
},
"hsl": {
"h": 227.2,
"s": 51.724,
"l": 28.431
},
"oklch": {
"l": 0.34305,
"c": 0.10418,
"h": 268.9
},
"luminance": 0.03851
}Semantic roles & 50–950 ramp
primary
#23336E
secondary
#A18F4C
accent
#BD4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E