#042F41#042F41

#042F41 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.055 H 231.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#042F41
RGBrgb(4, 47, 65)
HSLhsl(198, 88%, 14%)
HSVhsv(198, 94%, 25%)
CMYKcmyk(93.8%, 27.7%, 0%, 74.5%)
CIE-LABlab(17.65, -6.52, -15.31)
CIE-LCHlch(17.65, 16.64, 246.93°)
OKLaboklab(28.72% -0.0341 -0.0432)
OKLCHoklch(28.72% 0.055 231.7)
XYZxyz(2.0203, 2.4402, 5.3645)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F41 #411604
analogous
#044134 #042F41 #041041
triadic
#042F41 #41042F #2F4104
tetradic
#042F41 #340441 #411604 #104104
square
#042F41 #340441 #411604 #104104
split-complementary
#042F41 #410410 #413404
monochromatic
#02151D #02151D #042F41 #08597B #0B82B4

Accessibility & contrast

On white

14.11
#042F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#042F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F41
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F41#FFFFFF#000000##FFFFFF
##042F411.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E42
Deuteranopia (green-blind)
#1E2941
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #042f41;
/* rgb */ color: rgb(4, 47, 65);
/* oklch */ color: oklch(28.7% 0.055 231.7);
Tailwind
colors: {
  custom: {
    50: '#516775',
    500: '#042f41',
    950: '#000000',
  },
}
SCSS
$custom: #042f41;
$custom-light: #516775;
$custom-dark: #000000;
JSON
{
  "hex": "#042f41",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 65
  },
  "hsl": {
    "h": 197.705,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.05503,
    "h": 231.7
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#042F41
secondary
#823C1F
accent
#6829FF
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #042F41

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

Preview Lab → · Contrast checker → · Palette generator →

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