#042E41#042E41

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

Color values

HEX#042E41
RGBrgb(4, 46, 65)
HSLhsl(199, 88%, 14%)
HSVhsv(199, 94%, 25%)
CMYKcmyk(93.8%, 29.2%, 0%, 74.5%)
CIE-LABlab(17.28, -5.85, -15.88)
CIE-LCHlch(17.28, 16.92, 249.79°)
OKLaboklab(28.42% -0.033 -0.0449)
OKLCHoklch(28.42% 0.056 233.7)
XYZxyz(1.9808, 2.3612, 5.3514)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E41 #411704
analogous
#044135 #042E41 #040F41
triadic
#042E41 #41042E #2E4104
tetradic
#042E41 #350441 #411704 #0F4104
square
#042E41 #350441 #411704 #0F4104
split-complementary
#042E41 #41040F #413504
monochromatic
#02141D #02141D #042E41 #08577B #0B80B4

Accessibility & contrast

On white

14.26
#042E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#042E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E41
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E41#FFFFFF#000000##FFFFFF
##042E411.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E42
Deuteranopia (green-blind)
#1C2841
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042e41;
/* rgb */ color: rgb(4, 46, 65);
/* oklch */ color: oklch(28.4% 0.056 233.7);
Tailwind
colors: {
  custom: {
    50: '#516675',
    500: '#042e41',
    950: '#000000',
  },
}
SCSS
$custom: #042e41;
$custom-light: #516675;
$custom-dark: #000000;
JSON
{
  "hex": "#042e41",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 65
  },
  "hsl": {
    "h": 198.689,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28422,
    "c": 0.05569,
    "h": 233.7
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#042E41
secondary
#823E1F
accent
#6C29FF
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #042E41

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

Preview Lab → · Contrast checker → · Palette generator →

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