#042B36#042B36

#042B36 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.9% C 0.046 H 221.4°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#042B36
RGBrgb(4, 43, 54)
HSLhsl(193, 86%, 11%)
HSVhsv(193, 93%, 21%)
CMYKcmyk(92.6%, 20.4%, 0%, 78.8%)
CIE-LABlab(15.59, -8.57, -10.87)
CIE-LCHlch(15.59, 13.84, 231.74°)
OKLaboklab(26.88% -0.0345 -0.0305)
OKLCHoklch(26.88% 0.046 221.4)
XYZxyz(1.5795, 2.0197, 3.7959)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B36 #360F04
analogous
#043628 #042B36 #041236
triadic
#042B36 #36042B #2B3604
tetradic
#042B36 #280436 #360F04 #123604
square
#042B36 #280436 #360F04 #123604
split-complementary
#042B36 #360412 #362804
monochromatic
#02171C #02171C #042B36 #08586F #0C86A8

Accessibility & contrast

On white

14.96
#042B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#042B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B36
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B36#FFFFFF#000000##FFFFFF
##042B361.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A37
Deuteranopia (green-blind)
#1E2536
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042b36;
/* rgb */ color: rgb(4, 43, 54);
/* oklch */ color: oklch(26.9% 0.046 221.4);
Tailwind
colors: {
  custom: {
    50: '#4e646d',
    500: '#042b36',
    950: '#000000',
  },
}
SCSS
$custom: #042b36;
$custom-light: #4e646d;
$custom-dark: #000000;
JSON
{
  "hex": "#042b36",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 54
  },
  "hsl": {
    "h": 193.2,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.26882,
    "c": 0.04606,
    "h": 221.4
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#042B36
secondary
#78321E
accent
#592BFC
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020507
muted
#78797A

Preview Lab

Preview with #042B36

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

Preview Lab → · Contrast checker → · Palette generator →

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