#042F3F#042F3F
#042F3F is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.6% C 0.053 H 228.6°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #042F3F |
|---|---|
| RGB | rgb(4, 47, 63) |
| HSL | hsl(196, 88%, 13%) |
| HSV | hsv(196, 94%, 25%) |
| CMYK | cmyk(93.7%, 25.4%, 0%, 75.3%) |
| CIE-LAB | lab(17.54, -7.38, -14.10) |
| CIE-LCH | lch(17.54, 15.91, 242.36°) |
| OKLab | oklab(28.6% -0.035 -0.0397) |
| OKLCH | oklch(28.6% 0.053 228.6) |
| XYZ | xyz(1.9634, 2.4175, 5.0648) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 5.03
Gunmetal
#2A3439
ΔE00 7.95
Dark Grey Blue
#29465B
ΔE00 8.51
Dark
#1B2431
ΔE00 8.94
Dark Slate Blue
#214761
ΔE00 9.00
Charcoal
#36454F
ΔE00 9.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042F3F #3F1404
analogous
#043F31 #042F3F #04113F
triadic
#042F3F #3F042F #2F3F04
tetradic
#042F3F #31043F #3F1404 #113F04
square
#042F3F #31043F #3F1404 #113F04
split-complementary
#042F3F #3F0411 #3F3104
monochromatic
#02151D #02151D #042F3F #085A79 #0B85B2
Accessibility & contrast
On white
14.15
#042F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#042F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042F3F
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042F3F | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272E40
Deuteranopia (green-blind)
#1F293F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #042f3f; /* rgb */ color: rgb(4, 47, 63); /* oklch */ color: oklch(28.6% 0.053 228.6);
Tailwind
colors: {
custom: {
50: '#506774',
500: '#042f3f',
950: '#000000',
},
}SCSS
$custom: #042f3f; $custom-light: #506774; $custom-dark: #000000;
JSON
{
"hex": "#042f3f",
"rgb": {
"r": 4,
"g": 47,
"b": 63
},
"hsl": {
"h": 196.271,
"s": 88.06,
"l": 13.137
},
"oklch": {
"l": 0.28596,
"c": 0.0529,
"h": 228.6
},
"luminance": 0.02418
}Semantic roles & 50–950 ramp
primary
#042F3F
secondary
#80391E
accent
#632AFE
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B