#042B3B#042B3B

#042B3B is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.2% C 0.051 H 230.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#042B3B
RGBrgb(4, 43, 59)
HSLhsl(197, 87%, 12%)
HSVhsv(197, 93%, 23%)
CMYKcmyk(93.2%, 27.1%, 0%, 76.9%)
CIE-LABlab(15.85, -6.43, -13.97)
CIE-LCHlch(15.85, 15.38, 245.28°)
OKLaboklab(27.17% -0.0322 -0.0394)
OKLCHoklch(27.17% 0.051 230.7)
XYZxyz(1.7030, 2.0691, 4.4464)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B3B #3B1404
analogous
#043B30 #042B3B #040F3B
triadic
#042B3B #3B042B #2B3B04
tetradic
#042B3B #30043B #3B1404 #0F3B04
square
#042B3B #30043B #3B1404 #0F3B04
split-complementary
#042B3B #3B040F #3B3004
monochromatic
#02151D #02151D #042B3B #085574 #0C7FAE

Accessibility & contrast

On white

14.85
#042B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042B3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B3B
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B3B#FFFFFF#000000##FFFFFF
##042B3B1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3C
Deuteranopia (green-blind)
#1B253B
Tritanopia (blue-blind)
#002F30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042b3b;
/* rgb */ color: rgb(4, 43, 59);
/* oklch */ color: oklch(27.2% 0.051 230.7);
Tailwind
colors: {
  custom: {
    50: '#4f6471',
    500: '#042b3b',
    950: '#000000',
  },
}
SCSS
$custom: #042b3b;
$custom-light: #4f6471;
$custom-dark: #000000;
JSON
{
  "hex": "#042b3b",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 59
  },
  "hsl": {
    "h": 197.455,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27171,
    "c": 0.05088,
    "h": 230.7
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#042B3B
secondary
#7D3A1E
accent
#682AFD
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #042B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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