#042D46#042D46

#042D46 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.063 H 241.5°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#042D46
RGBrgb(4, 45, 70)
HSLhsl(203, 89%, 15%)
HSVhsv(203, 94%, 27%)
CMYKcmyk(94.3%, 35.7%, 0%, 72.5%)
CIE-LABlab(17.20, -2.95, -19.43)
CIE-LCHlch(17.20, 19.66, 261.38°)
OKLaboklab(28.45% -0.03 -0.0552)
OKLCHoklch(28.45% 0.063 241.5)
XYZxyz(2.0935, 2.3445, 6.1354)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D46 #461D04
analogous
#04463E #042D46 #040C46
triadic
#042D46 #46042D #2D4604
tetradic
#042D46 #3E0446 #461D04 #0C4604
square
#042D46 #3E0446 #461D04 #0C4604
split-complementary
#042D46 #46040C #463E04
monochromatic
#02131D #02131D #042D46 #075280 #0B77BA

Accessibility & contrast

On white

14.30
#042D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042D46
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D46#FFFFFF#000000##FFFFFF
##042D461.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E47
Deuteranopia (green-blind)
#182846
Tritanopia (blue-blind)
#003336
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042d46;
/* rgb */ color: rgb(4, 45, 70);
/* oklch */ color: oklch(28.5% 0.063 241.5);
Tailwind
colors: {
  custom: {
    50: '#526579',
    500: '#042d46',
    950: '#000000',
  },
}
SCSS
$custom: #042d46;
$custom-light: #526579;
$custom-dark: #000000;
JSON
{
  "hex": "#042d46",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 70
  },
  "hsl": {
    "h": 202.727,
    "s": 89.189,
    "l": 14.51
  },
  "oklch": {
    "l": 0.28453,
    "c": 0.06283,
    "h": 241.5
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#042D46
secondary
#87461F
accent
#7A29FF
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #042D46

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

Preview Lab → · Contrast checker → · Palette generator →

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