#04313F#04313F
#04313F is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.2% C 0.052 H 224.4°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #04313F |
|---|---|
| RGB | rgb(4, 49, 63) |
| HSL | hsl(194, 88%, 13%) |
| HSV | hsv(194, 94%, 25%) |
| CMYK | cmyk(93.7%, 22.2%, 0%, 75.3%) |
| CIE-LAB | lab(18.28, -8.69, -12.95) |
| CIE-LCH | lch(18.28, 15.60, 236.13°) |
| OKLab | oklab(29.19% -0.0372 -0.0364) |
| OKLCH | oklch(29.19% 0.052 224.4) |
| XYZ | xyz(2.0452, 2.5811, 5.0921) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 5.61
Gunmetal
#2A3439
ΔE00 8.00
Dark Grey Blue
#29465B
ΔE00 8.80
Dark Slate Blue
#214761
ΔE00 9.38
Charcoal
#36454F
ΔE00 9.40
Dark
#1B2431
ΔE00 10.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04313F #3F1204
analogous
#043F2F #04313F #04133F
triadic
#04313F #3F0431 #313F04
tetradic
#04313F #2F043F #3F1204 #133F04
square
#04313F #2F043F #3F1204 #133F04
split-complementary
#04313F #3F0413 #3F2F04
monochromatic
#02161D #02161D #04313F #085E79 #0B8BB2
Accessibility & contrast
On white
13.85
#04313F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#04313F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04313F
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04313F | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293040
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #04313f; /* rgb */ color: rgb(4, 49, 63); /* oklch */ color: oklch(29.2% 0.052 224.4);
Tailwind
colors: {
custom: {
50: '#516974',
500: '#04313f',
950: '#000000',
},
}SCSS
$custom: #04313f; $custom-light: #516974; $custom-dark: #000000;
JSON
{
"hex": "#04313f",
"rgb": {
"r": 4,
"g": 49,
"b": 63
},
"hsl": {
"h": 194.237,
"s": 88.06,
"l": 13.137
},
"oklch": {
"l": 0.2919,
"c": 0.05203,
"h": 224.4
},
"luminance": 0.02581
}Semantic roles & 50–950 ramp
primary
#04313F
secondary
#80361E
accent
#5C2AFE
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B