#042C3F#042C3F

#042C3F is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.7% C 0.055 H 234.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#042C3F
RGBrgb(4, 44, 63)
HSLhsl(199, 88%, 13%)
HSVhsv(199, 94%, 25%)
CMYKcmyk(93.7%, 30.2%, 0%, 75.3%)
CIE-LABlab(16.43, -5.36, -15.82)
CIE-LCHlch(16.43, 16.71, 251.29°)
OKLaboklab(27.71% -0.0316 -0.0447)
OKLCHoklch(27.71% 0.055 234.7)
XYZxyz(1.8476, 2.1858, 5.0262)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C3F #3F1704
analogous
#043F34 #042C3F #040E3F
triadic
#042C3F #3F042C #2C3F04
tetradic
#042C3F #34043F #3F1704 #0E3F04
square
#042C3F #34043F #3F1704 #0E3F04
split-complementary
#042C3F #3F040E #3F3404
monochromatic
#02141D #02141D #042C3F #085479 #0B7CB2

Accessibility & contrast

On white

14.61
#042C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#042C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C3F
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C3F#FFFFFF#000000##FFFFFF
##042C3F1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#1B263F
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042c3f;
/* rgb */ color: rgb(4, 44, 63);
/* oklch */ color: oklch(27.7% 0.055 234.7);
Tailwind
colors: {
  custom: {
    50: '#506574',
    500: '#042c3f',
    950: '#000000',
  },
}
SCSS
$custom: #042c3f;
$custom-light: #506574;
$custom-dark: #000000;
JSON
{
  "hex": "#042c3f",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 63
  },
  "hsl": {
    "h": 199.322,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.27712,
    "c": 0.05479,
    "h": 234.7
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#042C3F
secondary
#803E1E
accent
#6E2AFE
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020508
muted
#787A7B

Preview Lab

Preview with #042C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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