#18304B#18304B
#18304B is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.058 H 252.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #18304B |
|---|---|
| RGB | rgb(24, 48, 75) |
| HSL | hsl(212, 52%, 19%) |
| HSV | hsv(212, 68%, 29%) |
| CMYK | cmyk(68%, 36%, 0%, 70.6%) |
| CIE-LAB | lab(19.29, 0.51, -19.49) |
| CIE-LCH | lch(19.29, 19.50, 271.49°) |
| OKLab | oklab(30.4% -0.0172 -0.0551) |
| OKLCH | oklch(30.4% 0.058 252.7) |
| XYZ | xyz(2.7032, 2.8158, 7.0563) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.44
Marine
#042E60
ΔE00 5.00
Marine Blue
#01386A
ΔE00 5.82
Dark Blue Grey
#1F3B4D
ΔE00 6.70
Dark
#1B2431
ΔE00 6.84
Dark Grey Blue
#29465B
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18304B #4B3318
analogous
#184A4B #18304B #1A184B
triadic
#18304B #4B1830 #304B18
tetradic
#18304B #4B184A #4B3318 #184B1A
square
#18304B #4B184A #4B3318 #184B1A
split-complementary
#18304B #4B1A18 #4A4B18
monochromatic
#070F17 #09121D #18304B #274E79 #366BA8
Accessibility & contrast
On white
13.43
#18304B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#18304B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18304B
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18304B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18304B | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25314C
Deuteranopia (green-blind)
#1E2D4A
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #18304b; /* rgb */ color: rgb(24, 48, 75); /* oklch */ color: oklch(30.4% 0.058 252.7);
Tailwind
colors: {
custom: {
50: '#5a687d',
500: '#18304b',
950: '#000000',
},
}SCSS
$custom: #18304b; $custom-light: #5a687d; $custom-dark: #000000;
JSON
{
"hex": "#18304b",
"rgb": {
"r": 24,
"g": 48,
"b": 75
},
"hsl": {
"h": 211.765,
"s": 51.515,
"l": 19.412
},
"oklch": {
"l": 0.30405,
"c": 0.05768,
"h": 252.7
},
"luminance": 0.02816
}Semantic roles & 50–950 ramp
primary
#18304B
secondary
#82613D
accent
#984DDB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B