#042E3B#042E3B

#042E3B is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.1% C 0.049 H 223.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#042E3B
RGBrgb(4, 46, 59)
HSLhsl(194, 87%, 12%)
HSVhsv(194, 93%, 23%)
CMYKcmyk(93.2%, 22%, 0%, 76.9%)
CIE-LABlab(16.97, -8.42, -12.23)
CIE-LCHlch(16.97, 14.85, 235.44°)
OKLaboklab(28.07% -0.0356 -0.0343)
OKLCHoklch(28.07% 0.049 223.9)
XYZxyz(1.8162, 2.2953, 4.4841)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E3B #3B1104
analogous
#043B2D #042E3B #04123B
triadic
#042E3B #3B042E #2E3B04
tetradic
#042E3B #2D043B #3B1104 #123B04
square
#042E3B #2D043B #3B1104 #123B04
split-complementary
#042E3B #3B0412 #3B2D04
monochromatic
#02161D #02161D #042E3B #085B74 #0C87AE

Accessibility & contrast

On white

14.39
#042E3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#042E3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E3B
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E3B#FFFFFF#000000##FFFFFF
##042E3B1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272D3C
Deuteranopia (green-blind)
#1F283B
Tritanopia (blue-blind)
#003232
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042e3b;
/* rgb */ color: rgb(4, 46, 59);
/* oklch */ color: oklch(28.1% 0.049 223.9);
Tailwind
colors: {
  custom: {
    50: '#4f6671',
    500: '#042e3b',
    950: '#000000',
  },
}
SCSS
$custom: #042e3b;
$custom-light: #4f6671;
$custom-dark: #000000;
JSON
{
  "hex": "#042e3b",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 59
  },
  "hsl": {
    "h": 194.182,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28069,
    "c": 0.04949,
    "h": 223.9
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#042E3B
secondary
#7D341E
accent
#5C2AFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #042E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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