#042537#042537

#042537 is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.1% C 0.050 H 237.4°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#042537
RGBrgb(4, 37, 55)
HSLhsl(201, 86%, 12%)
HSVhsv(201, 93%, 22%)
CMYKcmyk(92.7%, 32.7%, 0%, 78.4%)
CIE-LABlab(13.38, -4.04, -15.01)
CIE-LCHlch(13.38, 15.54, 254.93°)
OKLaboklab(25.13% -0.0272 -0.0425)
OKLCHoklch(25.13% 0.05 237.4)
XYZxyz(1.4010, 1.6246, 3.8534)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042537 #371604
analogous
#043730 #042537 #040C37
triadic
#042537 #370425 #253704
tetradic
#042537 #300437 #371604 #0C3704
square
#042537 #300437 #371604 #0C3704
split-complementary
#042537 #37040C #373004
monochromatic
#02131D #02131D #042537 #084B70 #0C72A9

Accessibility & contrast

On white

15.85
#042537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#042537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042537
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042537#FFFFFF#000000##FFFFFF
##0425371.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2538
Deuteranopia (green-blind)
#152037
Tritanopia (blue-blind)
#002A2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042537;
/* rgb */ color: rgb(4, 37, 55);
/* oklch */ color: oklch(25.1% 0.050 237.4);
Tailwind
colors: {
  custom: {
    50: '#4e5f6e',
    500: '#042537',
    950: '#000000',
  },
}
SCSS
$custom: #042537;
$custom-light: #4e5f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#042537",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 55
  },
  "hsl": {
    "h": 201.176,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.25131,
    "c": 0.05041,
    "h": 237.4
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#042537
secondary
#793E1E
accent
#752BFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042537

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

Preview Lab → · Contrast checker → · Palette generator →

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