#18334C#18334C
#18334C is a dark, muted cyan. Relative luminance 0.031; OKLCH L 31.3% C 0.056 H 248.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #18334C |
|---|---|
| RGB | rgb(24, 51, 76) |
| HSL | hsl(209, 52%, 20%) |
| HSV | hsv(209, 68%, 30%) |
| CMYK | cmyk(68.4%, 32.9%, 0%, 70.2%) |
| CIE-LAB | lab(20.37, -1.19, -18.46) |
| CIE-LCH | lch(20.37, 18.50, 266.31°) |
| OKLab | oklab(31.27% -0.0206 -0.052) |
| OKLCH | oklch(31.27% 0.056 248.4) |
| XYZ | xyz(2.8645, 3.0834, 7.2803) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 4.85
Marine Blue
#01386A
ΔE00 5.74
Marine
#042E60
ΔE00 5.82
Navy Blue
#1B2A4A
ΔE00 6.34
Dark Grey Blue
#29465B
ΔE00 6.74
Dark Slate Blue
#214761
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18334C #4C3118
analogous
#184C4B #18334C #18194C
triadic
#18334C #4C1833 #334C18
tetradic
#18334C #4B184C #4C3118 #194C18
square
#18334C #4B184C #4C3118 #194C18
split-complementary
#18334C #4C1819 #4C4B18
monochromatic
#071017 #09141D #18334C #27527B #3571A9
Accessibility & contrast
On white
12.99
#18334C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#18334C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18334C
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18334C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18334C | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28344D
Deuteranopia (green-blind)
#212F4C
Tritanopia (blue-blind)
#00393C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #18334c; /* rgb */ color: rgb(24, 51, 76); /* oklch */ color: oklch(31.3% 0.056 248.4);
Tailwind
colors: {
custom: {
50: '#5b6a7e',
500: '#18334c',
950: '#000000',
},
}SCSS
$custom: #18334c; $custom-light: #5b6a7e; $custom-dark: #000000;
JSON
{
"hex": "#18334c",
"rgb": {
"r": 24,
"g": 51,
"b": 76
},
"hsl": {
"h": 208.846,
"s": 52,
"l": 19.608
},
"oklch": {
"l": 0.31274,
"c": 0.05599,
"h": 248.4
},
"luminance": 0.03084
}Semantic roles & 50–950 ramp
primary
#18334C
secondary
#835F3D
accent
#914CDB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C