#042A36#042A36

#042A36 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.6% C 0.046 H 223.9°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#042A36
RGBrgb(4, 42, 54)
HSLhsl(194, 86%, 11%)
HSVhsv(194, 93%, 21%)
CMYKcmyk(92.6%, 22.2%, 0%, 78.8%)
CIE-LABlab(15.21, -7.91, -11.45)
CIE-LCHlch(15.21, 13.92, 235.36°)
OKLaboklab(26.58% -0.0334 -0.0321)
OKLCHoklch(26.58% 0.046 223.9)
XYZxyz(1.5436, 1.9479, 3.7839)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042A36 #361004
analogous
#043629 #042A36 #041136
triadic
#042A36 #36042A #2A3604
tetradic
#042A36 #290436 #361004 #113604
square
#042A36 #290436 #361004 #113604
split-complementary
#042A36 #360411 #362904
monochromatic
#02161C #02161C #042A36 #08566F #0C83A8

Accessibility & contrast

On white

15.11
#042A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#042A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042A36
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042A36#FFFFFF#000000##FFFFFF
##042A361.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232937
Deuteranopia (green-blind)
#1D2436
Tritanopia (blue-blind)
#002E2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042a36;
/* rgb */ color: rgb(4, 42, 54);
/* oklch */ color: oklch(26.6% 0.046 223.9);
Tailwind
colors: {
  custom: {
    50: '#4e636d',
    500: '#042a36',
    950: '#000000',
  },
}
SCSS
$custom: #042a36;
$custom-light: #4e636d;
$custom-dark: #000000;
JSON
{
  "hex": "#042a36",
  "rgb": {
    "r": 4,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 194.4,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.26577,
    "c": 0.04633,
    "h": 223.9
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#042A36
secondary
#78331E
accent
#5E2BFC
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020507
muted
#78797A

Preview Lab

Preview with #042A36

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

Preview Lab → · Contrast checker → · Palette generator →

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