#042536#042536

#042536 is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.1% C 0.049 H 235.9°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#042536
RGBrgb(4, 37, 54)
HSLhsl(200, 86%, 11%)
HSVhsv(200, 93%, 21%)
CMYKcmyk(92.6%, 31.5%, 0%, 78.8%)
CIE-LABlab(13.32, -4.49, -14.39)
CIE-LCHlch(13.32, 15.08, 252.67°)
OKLaboklab(25.07% -0.0276 -0.0407)
OKLCHoklch(25.07% 0.049 235.9)
XYZxyz(1.3772, 1.6151, 3.7285)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042536 #361504
analogous
#04362E #042536 #040C36
triadic
#042536 #360425 #253604
tetradic
#042536 #2E0436 #361504 #0C3604
square
#042536 #2E0436 #361504 #0C3604
split-complementary
#042536 #36040C #362E04
monochromatic
#02141C #02141C #042536 #084C6F #0C73A8

Accessibility & contrast

On white

15.87
#042536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#042536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042536
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042536#FFFFFF#000000##FFFFFF
##0425361.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2537
Deuteranopia (green-blind)
#162036
Tritanopia (blue-blind)
#00292B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042536;
/* rgb */ color: rgb(4, 37, 54);
/* oklch */ color: oklch(25.1% 0.049 235.9);
Tailwind
colors: {
  custom: {
    50: '#4d5f6d',
    500: '#042536',
    950: '#000000',
  },
}
SCSS
$custom: #042536;
$custom-light: #4d5f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#042536",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 54
  },
  "hsl": {
    "h": 200.4,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25067,
    "c": 0.04913,
    "h": 235.9
  },
  "luminance": 0.01615
}

Semantic roles & 50–950 ramp

primary
#042536
secondary
#783C1E
accent
#722BFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042536

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

Preview Lab → · Contrast checker → · Palette generator →

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