#042D3B#042D3B

#042D3B is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.8% C 0.050 H 226.2°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#042D3B
RGBrgb(4, 45, 59)
HSLhsl(195, 87%, 12%)
HSVhsv(195, 93%, 23%)
CMYKcmyk(93.2%, 23.7%, 0%, 76.9%)
CIE-LABlab(16.59, -7.77, -12.81)
CIE-LCHlch(16.59, 14.98, 238.76°)
OKLaboklab(27.77% -0.0345 -0.036)
OKLCHoklch(27.77% 0.05 226.2)
XYZxyz(1.7775, 2.2181, 4.4713)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D3B #3B1204
analogous
#043B2E #042D3B #04113B
triadic
#042D3B #3B042D #2D3B04
tetradic
#042D3B #2E043B #3B1204 #113B04
square
#042D3B #2E043B #3B1204 #113B04
split-complementary
#042D3B #3B0411 #3B2E04
monochromatic
#02161D #02161D #042D3B #085974 #0C84AE

Accessibility & contrast

On white

14.55
#042D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042D3B
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D3B#FFFFFF#000000##FFFFFF
##042D3B1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3C
Deuteranopia (green-blind)
#1E273B
Tritanopia (blue-blind)
#003132
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042d3b;
/* rgb */ color: rgb(4, 45, 59);
/* oklch */ color: oklch(27.8% 0.050 226.2);
Tailwind
colors: {
  custom: {
    50: '#4f6571',
    500: '#042d3b',
    950: '#000000',
  },
}
SCSS
$custom: #042d3b;
$custom-light: #4f6571;
$custom-dark: #000000;
JSON
{
  "hex": "#042d3b",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 59
  },
  "hsl": {
    "h": 195.273,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27769,
    "c": 0.04987,
    "h": 226.2
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#042D3B
secondary
#7D361E
accent
#602AFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #042D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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