#042D3A#042D3A

#042D3A is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.7% C 0.049 H 224.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#042D3A
RGBrgb(4, 45, 58)
HSLhsl(194, 87%, 12%)
HSVhsv(194, 93%, 23%)
CMYKcmyk(93.1%, 22.4%, 0%, 77.3%)
CIE-LABlab(16.54, -8.19, -12.19)
CIE-LCHlch(16.54, 14.69, 236.10°)
OKLaboklab(27.71% -0.035 -0.0342)
OKLCHoklch(27.71% 0.049 224.4)
XYZxyz(1.7519, 2.2079, 4.3360)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D3A #3A1104
analogous
#043A2C #042D3A #04123A
triadic
#042D3A #3A042D #2D3A04
tetradic
#042D3A #2C043A #3A1104 #123A04
square
#042D3A #2C043A #3A1104 #123A04
split-complementary
#042D3A #3A0412 #3A2C04
monochromatic
#02161D #02161D #042D3A #085973 #0C86AD

Accessibility & contrast

On white

14.57
#042D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#042D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D3A
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D3A#FFFFFF#000000##FFFFFF
##042D3A1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262C3B
Deuteranopia (green-blind)
#1F273A
Tritanopia (blue-blind)
#003131
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042d3a;
/* rgb */ color: rgb(4, 45, 58);
/* oklch */ color: oklch(27.7% 0.049 224.4);
Tailwind
colors: {
  custom: {
    50: '#4f6570',
    500: '#042d3a',
    950: '#000000',
  },
}
SCSS
$custom: #042d3a;
$custom-light: #4f6570;
$custom-dark: #000000;
JSON
{
  "hex": "#042d3a",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 58
  },
  "hsl": {
    "h": 194.444,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27712,
    "c": 0.04893,
    "h": 224.4
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#042D3A
secondary
#7C351E
accent
#5D2BFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #042D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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