#042637#042637

#042637 is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.4% C 0.050 H 235.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#042637
RGBrgb(4, 38, 55)
HSLhsl(200, 86%, 12%)
HSVhsv(200, 93%, 22%)
CMYKcmyk(92.7%, 30.9%, 0%, 78.4%)
CIE-LABlab(13.75, -4.75, -14.42)
CIE-LCHlch(13.75, 15.18, 251.78°)
OKLaboklab(25.43% -0.0283 -0.0407)
OKLCHoklch(25.43% 0.05 235.2)
XYZxyz(1.4325, 1.6877, 3.8639)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042637 #371504
analogous
#04372F #042637 #040D37
triadic
#042637 #370426 #263704
tetradic
#042637 #2F0437 #371504 #0D3704
square
#042637 #2F0437 #371504 #0D3704
split-complementary
#042637 #37040D #372F04
monochromatic
#02141D #02141D #042637 #084D70 #0C75A9

Accessibility & contrast

On white

15.70
#042637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#042637 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042637
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042637#FFFFFF#000000##FFFFFF
##0426371.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2638
Deuteranopia (green-blind)
#172137
Tritanopia (blue-blind)
#002A2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #042637;
/* rgb */ color: rgb(4, 38, 55);
/* oklch */ color: oklch(25.4% 0.050 235.2);
Tailwind
colors: {
  custom: {
    50: '#4e606e',
    500: '#042637',
    950: '#000000',
  },
}
SCSS
$custom: #042637;
$custom-light: #4e606e;
$custom-dark: #000000;
JSON
{
  "hex": "#042637",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 55
  },
  "hsl": {
    "h": 200,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2543,
    "c": 0.04961,
    "h": 235.2
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#042637
secondary
#793C1E
accent
#712BFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042637

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#042637 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva