#042D38#042D38

#042D38 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.6% C 0.047 H 220.5°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#042D38
RGBrgb(4, 45, 56)
HSLhsl(193, 87%, 12%)
HSVhsv(193, 93%, 22%)
CMYKcmyk(92.9%, 19.6%, 0%, 78%)
CIE-LABlab(16.44, -9.03, -10.95)
CIE-LCHlch(16.44, 14.20, 230.48°)
OKLaboklab(27.6% -0.0359 -0.0307)
OKLCHoklch(27.6% 0.047 220.5)
XYZxyz(1.7020, 2.1879, 4.0732)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D38 #380F04
analogous
#043829 #042D38 #041338
triadic
#042D38 #38042D #2D3804
tetradic
#042D38 #290438 #380F04 #133804
square
#042D38 #290438 #380F04 #133804
split-complementary
#042D38 #380413 #382904
monochromatic
#02171D #02171D #042D38 #085B71 #0C89AA

Accessibility & contrast

On white

14.61
#042D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042D38
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D38#FFFFFF#000000##FFFFFF
##042D381.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042d38;
/* rgb */ color: rgb(4, 45, 56);
/* oklch */ color: oklch(27.6% 0.047 220.5);
Tailwind
colors: {
  custom: {
    50: '#4f666e',
    500: '#042d38',
    950: '#000000',
  },
}
SCSS
$custom: #042d38;
$custom-light: #4f666e;
$custom-dark: #000000;
JSON
{
  "hex": "#042d38",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 56
  },
  "hsl": {
    "h": 192.692,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.276,
    "c": 0.04725,
    "h": 220.5
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#042D38
secondary
#7A311E
accent
#572BFD
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020507
muted
#787A7A

Preview Lab

Preview with #042D38

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

Preview Lab → · Contrast checker → · Palette generator →

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