#042736#042736

#042736 is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.7% C 0.048 H 231.3°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#042736
RGBrgb(4, 39, 54)
HSLhsl(198, 86%, 11%)
HSVhsv(198, 93%, 21%)
CMYKcmyk(92.6%, 27.8%, 0%, 78.8%)
CIE-LABlab(14.08, -5.88, -13.21)
CIE-LCHlch(14.08, 14.46, 246.00°)
OKLaboklab(25.67% -0.0299 -0.0372)
OKLCHoklch(25.67% 0.048 231.3)
XYZxyz(1.4412, 1.7430, 3.7498)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042736 #361304
analogous
#04362C #042736 #040E36
triadic
#042736 #360427 #273604
tetradic
#042736 #2C0436 #361304 #0E3604
square
#042736 #2C0436 #361304 #0E3604
split-complementary
#042736 #36040E #362C04
monochromatic
#02151C #02151C #042736 #08506F #0C79A8

Accessibility & contrast

On white

15.57
#042736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#042736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042736
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042736#FFFFFF#000000##FFFFFF
##0427361.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2637
Deuteranopia (green-blind)
#192236
Tritanopia (blue-blind)
#002B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042736;
/* rgb */ color: rgb(4, 39, 54);
/* oklch */ color: oklch(25.7% 0.048 231.3);
Tailwind
colors: {
  custom: {
    50: '#4d616d',
    500: '#042736',
    950: '#000000',
  },
}
SCSS
$custom: #042736;
$custom-light: #4d616d;
$custom-dark: #000000;
JSON
{
  "hex": "#042736",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 54
  },
  "hsl": {
    "h": 198,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25669,
    "c": 0.04775,
    "h": 231.3
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#042736
secondary
#78391E
accent
#6A2BFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020507
muted
#78797A

Preview Lab

Preview with #042736

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

Preview Lab → · Contrast checker → · Palette generator →

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