#042836#042836

#042836 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.047 H 228.9°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#042836
RGBrgb(4, 40, 54)
HSLhsl(197, 86%, 11%)
HSVhsv(197, 93%, 21%)
CMYKcmyk(92.6%, 25.9%, 0%, 78.8%)
CIE-LABlab(14.45, -6.57, -12.63)
CIE-LCHlch(14.45, 14.23, 242.51°)
OKLaboklab(25.97% -0.031 -0.0355)
OKLCHoklch(25.97% 0.047 228.9)
XYZxyz(1.4744, 1.8096, 3.7609)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042836 #361204
analogous
#04362B #042836 #040F36
triadic
#042836 #360428 #283604
tetradic
#042836 #2B0436 #361204 #0F3604
square
#042836 #2B0436 #361204 #0F3604
split-complementary
#042836 #36040F #362B04
monochromatic
#02151C #02151C #042836 #08526F #0C7CA8

Accessibility & contrast

On white

15.42
#042836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#042836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042836
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042836#FFFFFF#000000##FFFFFF
##0428361.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212737
Deuteranopia (green-blind)
#1A2236
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042836;
/* rgb */ color: rgb(4, 40, 54);
/* oklch */ color: oklch(26.0% 0.047 228.9);
Tailwind
colors: {
  custom: {
    50: '#4e616d',
    500: '#042836',
    950: '#000000',
  },
}
SCSS
$custom: #042836;
$custom-light: #4e616d;
$custom-dark: #000000;
JSON
{
  "hex": "#042836",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 54
  },
  "hsl": {
    "h": 196.8,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25971,
    "c": 0.04718,
    "h": 228.9
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#042836
secondary
#78371E
accent
#662BFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020507
muted
#78797A

Preview Lab

Preview with #042836

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

Preview Lab → · Contrast checker → · Palette generator →

#042836 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva