#042C3A#042C3A

#042C3A is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.049 H 226.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#042C3A
RGBrgb(4, 44, 58)
HSLhsl(196, 87%, 12%)
HSVhsv(196, 93%, 23%)
CMYKcmyk(93.1%, 24.1%, 0%, 77.3%)
CIE-LABlab(16.17, -7.53, -12.77)
CIE-LCHlch(16.17, 14.83, 239.48°)
OKLaboklab(27.41% -0.0338 -0.0359)
OKLCHoklch(27.41% 0.049 226.7)
XYZxyz(1.7142, 2.1324, 4.3234)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C3A #3A1204
analogous
#043A2D #042C3A #04113A
triadic
#042C3A #3A042C #2C3A04
tetradic
#042C3A #2D043A #3A1204 #113A04
square
#042C3A #2D043A #3A1204 #113A04
split-complementary
#042C3A #3A0411 #3A2D04
monochromatic
#02161D #02161D #042C3A #085773 #0C83AD

Accessibility & contrast

On white

14.72
#042C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#042C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C3A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C3A#FFFFFF#000000##FFFFFF
##042C3A1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3B
Deuteranopia (green-blind)
#1D263A
Tritanopia (blue-blind)
#003031
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042c3a;
/* rgb */ color: rgb(4, 44, 58);
/* oklch */ color: oklch(27.4% 0.049 226.7);
Tailwind
colors: {
  custom: {
    50: '#4f6570',
    500: '#042c3a',
    950: '#000000',
  },
}
SCSS
$custom: #042c3a;
$custom-light: #4f6570;
$custom-dark: #000000;
JSON
{
  "hex": "#042c3a",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 58
  },
  "hsl": {
    "h": 195.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27411,
    "c": 0.04934,
    "h": 226.7
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#042C3A
secondary
#7C361E
accent
#612BFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #042C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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