#042737#042737

#042737 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.7% C 0.049 H 233.0°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#042737
RGBrgb(4, 39, 55)
HSLhsl(199, 86%, 12%)
HSVhsv(199, 93%, 22%)
CMYKcmyk(92.7%, 29.1%, 0%, 78.4%)
CIE-LABlab(14.13, -5.44, -13.83)
CIE-LCHlch(14.13, 14.87, 248.52°)
OKLaboklab(25.73% -0.0294 -0.039)
OKLCHoklch(25.73% 0.049 233)
XYZxyz(1.4649, 1.7525, 3.8747)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042737 #371404
analogous
#04372E #042737 #040D37
triadic
#042737 #370427 #273704
tetradic
#042737 #2E0437 #371404 #0D3704
square
#042737 #2E0437 #371404 #0D3704
split-complementary
#042737 #37040D #372E04
monochromatic
#02141D #02141D #042737 #084F70 #0C78A9

Accessibility & contrast

On white

15.55
#042737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#042737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042737
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042737#FFFFFF#000000##FFFFFF
##0427371.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2738
Deuteranopia (green-blind)
#182237
Tritanopia (blue-blind)
#002B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042737;
/* rgb */ color: rgb(4, 39, 55);
/* oklch */ color: oklch(25.7% 0.049 233.0);
Tailwind
colors: {
  custom: {
    50: '#4e616e',
    500: '#042737',
    950: '#000000',
  },
}
SCSS
$custom: #042737;
$custom-light: #4e616e;
$custom-dark: #000000;
JSON
{
  "hex": "#042737",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 55
  },
  "hsl": {
    "h": 198.824,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2573,
    "c": 0.04889,
    "h": 233
  },
  "luminance": 0.01753
}

Semantic roles & 50–950 ramp

primary
#042737
secondary
#793A1E
accent
#6D2BFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020507
muted
#78797A

Preview Lab

Preview with #042737

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

Preview Lab → · Contrast checker → · Palette generator →

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