#042C3B#042C3B

#042C3B is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.050 H 228.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#042C3B
RGBrgb(4, 44, 59)
HSLhsl(196, 87%, 12%)
HSVhsv(196, 93%, 23%)
CMYKcmyk(93.2%, 25.4%, 0%, 76.9%)
CIE-LABlab(16.22, -7.10, -13.39)
CIE-LCHlch(16.22, 15.15, 242.05°)
OKLaboklab(27.47% -0.0334 -0.0377)
OKLCHoklch(27.47% 0.05 228.5)
XYZxyz(1.7398, 2.1427, 4.4587)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C3B #3B1304
analogous
#043B2F #042C3B #04103B
triadic
#042C3B #3B042C #2C3B04
tetradic
#042C3B #2F043B #3B1304 #103B04
square
#042C3B #2F043B #3B1304 #103B04
split-complementary
#042C3B #3B0410 #3B2F04
monochromatic
#02151D #02151D #042C3B #085774 #0C81AE

Accessibility & contrast

On white

14.70
#042C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042C3B
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C3B#FFFFFF#000000##FFFFFF
##042C3B1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042c3b;
/* rgb */ color: rgb(4, 44, 59);
/* oklch */ color: oklch(27.5% 0.050 228.5);
Tailwind
colors: {
  custom: {
    50: '#4f6571',
    500: '#042c3b',
    950: '#000000',
  },
}
SCSS
$custom: #042c3b;
$custom-light: #4f6571;
$custom-dark: #000000;
JSON
{
  "hex": "#042c3b",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 59
  },
  "hsl": {
    "h": 196.364,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27469,
    "c": 0.05033,
    "h": 228.5
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#042C3B
secondary
#7D381E
accent
#642AFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #042C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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