#042F3A#042F3A

#042F3A is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.3% C 0.048 H 219.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#042F3A
RGBrgb(4, 47, 58)
HSLhsl(192, 87%, 12%)
HSVhsv(192, 93%, 23%)
CMYKcmyk(93.1%, 19%, 0%, 77.3%)
CIE-LABlab(17.29, -9.49, -11.03)
CIE-LCHlch(17.29, 14.55, 229.30°)
OKLaboklab(28.31% -0.0373 -0.0309)
OKLCHoklch(28.31% 0.048 219.7)
XYZxyz(1.8300, 2.3641, 4.3620)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F3A #3A0F04
analogous
#043A2A #042F3A #04143A
triadic
#042F3A #3A042F #2F3A04
tetradic
#042F3A #2A043A #3A0F04 #143A04
square
#042F3A #2A043A #3A0F04 #143A04
split-complementary
#042F3A #3A0414 #3A2A04
monochromatic
#02171D #02171D #042F3A #085D73 #0C8CAD

Accessibility & contrast

On white

14.26
#042F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#042F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F3A
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F3A#FFFFFF#000000##FFFFFF
##042F3A1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D3B
Deuteranopia (green-blind)
#21283A
Tritanopia (blue-blind)
#003333
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042f3a;
/* rgb */ color: rgb(4, 47, 58);
/* oklch */ color: oklch(28.3% 0.048 219.7);
Tailwind
colors: {
  custom: {
    50: '#4f6770',
    500: '#042f3a',
    950: '#000000',
  },
}
SCSS
$custom: #042f3a;
$custom-light: #4f6770;
$custom-dark: #000000;
JSON
{
  "hex": "#042f3a",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 58
  },
  "hsl": {
    "h": 192.222,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28314,
    "c": 0.04842,
    "h": 219.7
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#042F3A
secondary
#7C311E
accent
#552BFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #042F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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