#042C46#042C46

#042C46 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.064 H 243.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#042C46
RGBrgb(4, 44, 70)
HSLhsl(204, 89%, 15%)
HSVhsv(204, 94%, 27%)
CMYKcmyk(94.3%, 37.1%, 0%, 72.5%)
CIE-LABlab(16.84, -2.24, -20.00)
CIE-LCHlch(16.84, 20.13, 263.60°)
OKLaboklab(28.17% -0.0289 -0.0569)
OKLCHoklch(28.17% 0.064 243)
XYZxyz(2.0558, 2.2691, 6.1228)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C46 #461E04
analogous
#04463F #042C46 #040B46
triadic
#042C46 #46042C #2C4604
tetradic
#042C46 #3F0446 #461E04 #0B4604
square
#042C46 #3F0446 #461E04 #0B4604
split-complementary
#042C46 #46040B #463F04
monochromatic
#02121D #02121D #042C46 #075080 #0B75BA

Accessibility & contrast

On white

14.44
#042C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#042C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C46
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C46#FFFFFF#000000##FFFFFF
##042C461.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D47
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#003235
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042c46;
/* rgb */ color: rgb(4, 44, 70);
/* oklch */ color: oklch(28.2% 0.064 243.0);
Tailwind
colors: {
  custom: {
    50: '#526479',
    500: '#042c46',
    950: '#000000',
  },
}
SCSS
$custom: #042c46;
$custom-light: #526479;
$custom-dark: #000000;
JSON
{
  "hex": "#042c46",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 203.636,
    "s": 89.189,
    "l": 14.51
  },
  "oklch": {
    "l": 0.28168,
    "c": 0.06384,
    "h": 243
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#042C46
secondary
#87481F
accent
#7D29FF
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #042C46

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

Preview Lab → · Contrast checker → · Palette generator →

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