#23336F#23336F
#23336F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.106 H 269.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #23336F |
|---|---|
| RGB | rgb(35, 51, 111) |
| HSL | hsl(227, 52%, 29%) |
| HSV | hsv(227, 68%, 44%) |
| CMYK | cmyk(68.5%, 54.1%, 0%, 56.5%) |
| CIE-LAB | lab(23.24, 14.95, -36.84) |
| CIE-LCH | lch(23.24, 39.76, 292.09°) |
| OKLab | oklab(34.39% -0.0019 -0.1057) |
| OKLCH | oklch(34.39% 0.106 269) |
| XYZ | xyz(4.7452, 3.8722, 15.5332) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.46
Marine Blue
#01386A
ΔE00 5.79
Navy Blue
#1B2A4A
ΔE00 6.94
Darkish Blue
#014182
ΔE00 7.10
Twilight Blue
#0A437A
ΔE00 7.70
Darkslateblue
#483D8B
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23336F #6F5F23
analogous
#23596F #23336F #39236F
triadic
#23336F #6F2333 #336F23
tetradic
#23336F #6F2359 #6F5F23 #236F39
square
#23336F #6F2359 #6F5F23 #236F39
split-complementary
#23336F #6F3923 #596F23
monochromatic
#070B17 #141E40 #23336F #32489E #4762C5
Accessibility & contrast
On white
11.83
#23336F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#23336F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23336F
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23336F | 1.00 | 11.83 | 1.77 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #23336f; /* rgb */ color: rgb(35, 51, 111); /* oklch */ color: oklch(34.4% 0.106 269.0);
Tailwind
colors: {
custom: {
50: '#676a99',
500: '#23336f',
950: '#000000',
},
}SCSS
$custom: #23336f; $custom-light: #676a99; $custom-dark: #000000;
JSON
{
"hex": "#23336f",
"rgb": {
"r": 35,
"g": 51,
"b": 111
},
"hsl": {
"h": 227.368,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.34385,
"c": 0.10572,
"h": 269
},
"luminance": 0.03873
}Semantic roles & 50–950 ramp
primary
#23336F
secondary
#A2904C
accent
#BD4CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E