#042D41#042D41

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

Color values

HEX#042D41
RGBrgb(4, 45, 65)
HSLhsl(200, 88%, 14%)
HSVhsv(200, 94%, 25%)
CMYKcmyk(93.8%, 30.8%, 0%, 74.5%)
CIE-LABlab(16.91, -5.17, -16.46)
CIE-LCHlch(16.91, 17.25, 252.57°)
OKLaboklab(28.13% -0.0319 -0.0465)
OKLCHoklch(28.13% 0.056 235.6)
XYZxyz(1.9422, 2.2840, 5.3385)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D41 #411804
analogous
#044136 #042D41 #040E41
triadic
#042D41 #41042D #2D4104
tetradic
#042D41 #360441 #411804 #0E4104
square
#042D41 #360441 #411804 #0E4104
split-complementary
#042D41 #41040E #413604
monochromatic
#02141D #02141D #042D41 #08557B #0B7DB4

Accessibility & contrast

On white

14.42
#042D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042D41
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D41#FFFFFF#000000##FFFFFF
##042D411.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D42
Deuteranopia (green-blind)
#1B2741
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042d41;
/* rgb */ color: rgb(4, 45, 65);
/* oklch */ color: oklch(28.1% 0.056 235.6);
Tailwind
colors: {
  custom: {
    50: '#516575',
    500: '#042d41',
    950: '#000000',
  },
}
SCSS
$custom: #042d41;
$custom-light: #516575;
$custom-dark: #000000;
JSON
{
  "hex": "#042d41",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 65
  },
  "hsl": {
    "h": 199.672,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28129,
    "c": 0.05644,
    "h": 235.6
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#042D41
secondary
#823F1F
accent
#6F29FF
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020508
muted
#787A7B

Preview Lab

Preview with #042D41

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

Preview Lab → · Contrast checker → · Palette generator →

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