#18335B#18335B
#18335B is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.079 H 258.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #18335B |
|---|---|
| RGB | rgb(24, 51, 91) |
| HSL | hsl(216, 58%, 23%) |
| HSV | hsv(216, 74%, 36%) |
| CMYK | cmyk(73.6%, 44%, 0%, 64.3%) |
| CIE-LAB | lab(21.27, 4.87, -27.03) |
| CIE-LCH | lch(21.27, 27.46, 280.22°) |
| OKLab | oklab(32.27% -0.0161 -0.0771) |
| OKLCH | oklch(32.27% 0.079 258.2) |
| XYZ | xyz(3.4482, 3.3168, 10.3540) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.46
Marine Blue
#01386A
ΔE00 3.63
Navy Blue
#1B2A4A
ΔE00 4.21
Twilight Blue
#0A437A
ΔE00 6.71
Darkish Blue
#014182
ΔE00 6.87
Prussian Blue
#004577
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18335B #5B4018
analogous
#18545B #18335B #1F185B
triadic
#18335B #5B1833 #335B18
tetradic
#18335B #5B1854 #5B4018 #185B1F
square
#18335B #5B1854 #5B4018 #185B1F
split-complementary
#18335B #5B1F18 #545B18
monochromatic
#060E18 #0B182B #18335B #254E8B #3269BC
Accessibility & contrast
On white
12.62
#18335B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#18335B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18335B
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18335B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18335B | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20365D
Deuteranopia (green-blind)
#16305A
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #18335b; /* rgb */ color: rgb(24, 51, 91); /* oklch */ color: oklch(32.3% 0.079 258.2);
Tailwind
colors: {
custom: {
50: '#5e6a89',
500: '#18335b',
950: '#000000',
},
}SCSS
$custom: #18335b; $custom-light: #5e6a89; $custom-dark: #000000;
JSON
{
"hex": "#18335b",
"rgb": {
"r": 24,
"g": 51,
"b": 91
},
"hsl": {
"h": 215.821,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.32267,
"c": 0.07875,
"h": 258.2
},
"luminance": 0.03317
}Semantic roles & 50–950 ramp
primary
#18335B
secondary
#92703D
accent
#A346E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C