#042535#042535

#042535 is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.048 H 234.2°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#042535
RGBrgb(4, 37, 53)
HSLhsl(200, 86%, 11%)
HSVhsv(200, 92%, 21%)
CMYKcmyk(92.5%, 30.2%, 0%, 79.2%)
CIE-LABlab(13.27, -4.94, -13.77)
CIE-LCHlch(13.27, 14.63, 250.28°)
OKLaboklab(25% -0.028 -0.0389)
OKLCHoklch(25% 0.048 234.2)
XYZxyz(1.3540, 1.6058, 3.6061)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042535 #351404
analogous
#04352C #042535 #040C35
triadic
#042535 #350425 #253504
tetradic
#042535 #2C0435 #351404 #0C3504
square
#042535 #2C0435 #351404 #0C3504
split-complementary
#042535 #35040C #352C04
monochromatic
#02141C #02141C #042535 #084D6E #0D74A7

Accessibility & contrast

On white

15.89
#042535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042535
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042535#FFFFFF#000000##FFFFFF
##0425351.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2536
Deuteranopia (green-blind)
#162035
Tritanopia (blue-blind)
#00292A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042535;
/* rgb */ color: rgb(4, 37, 53);
/* oklch */ color: oklch(25.0% 0.048 234.2);
Tailwind
colors: {
  custom: {
    50: '#4d5f6c',
    500: '#042535',
    950: '#000000',
  },
}
SCSS
$custom: #042535;
$custom-light: #4d5f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#042535",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 53
  },
  "hsl": {
    "h": 199.592,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.25004,
    "c": 0.0479,
    "h": 234.2
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#042535
secondary
#773B1E
accent
#702CFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042535

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

Preview Lab → · Contrast checker → · Palette generator →

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