#042F3B#042F3B

#042F3B is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.4% C 0.049 H 221.6°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#042F3B
RGBrgb(4, 47, 59)
HSLhsl(193, 87%, 12%)
HSVhsv(193, 93%, 23%)
CMYKcmyk(93.2%, 20.3%, 0%, 76.9%)
CIE-LABlab(17.34, -9.07, -11.65)
CIE-LCHlch(17.34, 14.77, 232.08°)
OKLaboklab(28.37% -0.0368 -0.0327)
OKLCHoklch(28.37% 0.049 221.6)
XYZxyz(1.8557, 2.3744, 4.4973)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F3B #3B1004
analogous
#043B2C #042F3B #04133B
triadic
#042F3B #3B042F #2F3B04
tetradic
#042F3B #2C043B #3B1004 #133B04
square
#042F3B #2C043B #3B1004 #133B04
split-complementary
#042F3B #3B0413 #3B2C04
monochromatic
#02171D #02171D #042F3B #085D74 #0C8AAE

Accessibility & contrast

On white

14.24
#042F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#042F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F3B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F3B#FFFFFF#000000##FFFFFF
##042F3B1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282E3C
Deuteranopia (green-blind)
#21283B
Tritanopia (blue-blind)
#003333
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #042f3b;
/* rgb */ color: rgb(4, 47, 59);
/* oklch */ color: oklch(28.4% 0.049 221.6);
Tailwind
colors: {
  custom: {
    50: '#4f6771',
    500: '#042f3b',
    950: '#000000',
  },
}
SCSS
$custom: #042f3b;
$custom-light: #4f6771;
$custom-dark: #000000;
JSON
{
  "hex": "#042f3b",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 59
  },
  "hsl": {
    "h": 193.091,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28369,
    "c": 0.04921,
    "h": 221.6
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#042F3B
secondary
#7D331E
accent
#582AFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #042F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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