#042937#042937

#042937 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.3% C 0.048 H 228.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#042937
RGBrgb(4, 41, 55)
HSLhsl(196, 86%, 12%)
HSVhsv(196, 93%, 22%)
CMYKcmyk(92.7%, 25.5%, 0%, 78.4%)
CIE-LABlab(14.88, -6.81, -12.66)
CIE-LCHlch(14.88, 14.38, 241.72°)
OKLaboklab(26.33% -0.0317 -0.0356)
OKLCHoklch(26.33% 0.048 228.3)
XYZxyz(1.5323, 1.8873, 3.8972)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042937 #371204
analogous
#04372C #042937 #041037
triadic
#042937 #370429 #293704
tetradic
#042937 #2C0437 #371204 #103704
square
#042937 #2C0437 #371204 #103704
split-complementary
#042937 #370410 #372C04
monochromatic
#02151D #02151D #042937 #085470 #0C7EA9

Accessibility & contrast

On white

15.24
#042937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#042937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042937
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042937#FFFFFF#000000##FFFFFF
##0429371.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222838
Deuteranopia (green-blind)
#1B2337
Tritanopia (blue-blind)
#002D2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042937;
/* rgb */ color: rgb(4, 41, 55);
/* oklch */ color: oklch(26.3% 0.048 228.3);
Tailwind
colors: {
  custom: {
    50: '#4e626d',
    500: '#042937',
    950: '#000000',
  },
}
SCSS
$custom: #042937;
$custom-light: #4e626d;
$custom-dark: #000000;
JSON
{
  "hex": "#042937",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 55
  },
  "hsl": {
    "h": 196.471,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.26332,
    "c": 0.04772,
    "h": 228.3
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#042937
secondary
#79371E
accent
#652BFD
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020507
muted
#78797A

Preview Lab

Preview with #042937

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

Preview Lab → · Contrast checker → · Palette generator →

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