#18336C#18336C
#18336C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.105 H 262.9°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #18336C |
|---|---|
| RGB | rgb(24, 51, 108) |
| HSL | hsl(221, 64%, 26%) |
| HSV | hsv(221, 78%, 42%) |
| CMYK | cmyk(77.8%, 52.8%, 0%, 57.6%) |
| CIE-LAB | lab(22.46, 11.93, -36.21) |
| CIE-LCH | lch(22.46, 38.12, 288.23°) |
| OKLab | oklab(33.56% -0.0129 -0.1041) |
| OKLCH | oklch(33.56% 0.105 262.9) |
| XYZ | xyz(4.2663, 3.6441, 14.6630) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.78
Marine Blue
#01386A
ΔE00 3.99
Darkish Blue
#014182
ΔE00 5.96
Twilight Blue
#0A437A
ΔE00 6.46
Navy Blue
#1B2A4A
ΔE00 6.47
Cobalt (survey)
#1E488F
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18336C #6C5118
analogous
#185D6C #18336C #27186C
triadic
#18336C #6C1833 #336C18
tetradic
#18336C #6C185D #6C5118 #186C27
square
#18336C #6C185D #6C5118 #186C27
split-complementary
#18336C #6C2718 #5D6C18
monochromatic
#060C19 #0D1B3A #18336C #234B9E #2E62D0
Accessibility & contrast
On white
12.15
#18336C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#18336C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18336C
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18336C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18336C | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113A6E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #18336c; /* rgb */ color: rgb(24, 51, 108); /* oklch */ color: oklch(33.6% 0.105 262.9);
Tailwind
colors: {
custom: {
50: '#626a96',
500: '#18336c',
950: '#000000',
},
}SCSS
$custom: #18336c; $custom-light: #626a96; $custom-dark: #000000;
JSON
{
"hex": "#18336c",
"rgb": {
"r": 24,
"g": 51,
"b": 108
},
"hsl": {
"h": 220.714,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.33562,
"c": 0.10486,
"h": 262.9
},
"luminance": 0.03645
}Semantic roles & 50–950 ramp
primary
#18336C
secondary
#A2823E
accent
#B141E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E