#042E37#042E37

#042E37 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 27.9% C 0.046 H 215.9°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#042E37
RGBrgb(4, 46, 55)
HSLhsl(191, 86%, 12%)
HSVhsv(191, 93%, 22%)
CMYKcmyk(92.7%, 16.4%, 0%, 78.4%)
CIE-LABlab(16.77, -10.09, -9.75)
CIE-LCHlch(16.77, 14.03, 224.02°)
OKLaboklab(27.85% -0.0376 -0.0272)
OKLCHoklch(27.85% 0.046 215.9)
XYZxyz(1.7164, 2.2554, 3.9586)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E37 #370D04
analogous
#043727 #042E37 #041537
triadic
#042E37 #37042E #2E3704
tetradic
#042E37 #270437 #370D04 #153704
square
#042E37 #270437 #370D04 #153704
split-complementary
#042E37 #370415 #372704
monochromatic
#02181D #02181D #042E37 #085E70 #0C8DA9

Accessibility & contrast

On white

14.47
#042E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#042E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E37
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E37#FFFFFF#000000##FFFFFF
##042E371.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C37
Deuteranopia (green-blind)
#212737
Tritanopia (blue-blind)
#003131
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042e37;
/* rgb */ color: rgb(4, 46, 55);
/* oklch */ color: oklch(27.9% 0.046 215.9);
Tailwind
colors: {
  custom: {
    50: '#4e666d',
    500: '#042e37',
    950: '#000000',
  },
}
SCSS
$custom: #042e37;
$custom-light: #4e666d;
$custom-dark: #000000;
JSON
{
  "hex": "#042e37",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 55
  },
  "hsl": {
    "h": 190.588,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2785,
    "c": 0.04643,
    "h": 215.9
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#042E37
secondary
#792E1E
accent
#502BFD
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020607
muted
#787A7A

Preview Lab

Preview with #042E37

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

Preview Lab → · Contrast checker → · Palette generator →

#042E37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva