#042835#042835

#042835 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.9% C 0.046 H 227.0°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#042835
RGBrgb(4, 40, 53)
HSLhsl(196, 86%, 11%)
HSVhsv(196, 92%, 21%)
CMYKcmyk(92.5%, 24.5%, 0%, 79.2%)
CIE-LABlab(14.40, -7.00, -12.00)
CIE-LCHlch(14.40, 13.90, 239.74°)
OKLaboklab(25.91% -0.0315 -0.0337)
OKLCHoklch(25.91% 0.046 227)
XYZxyz(1.4512, 1.8003, 3.6385)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042835 #351104
analogous
#043529 #042835 #040F35
triadic
#042835 #350428 #283504
tetradic
#042835 #290435 #351104 #0F3504
square
#042835 #290435 #351104 #0F3504
split-complementary
#042835 #35040F #352904
monochromatic
#02151C #02151C #042835 #08536E #0D7EA7

Accessibility & contrast

On white

15.44
#042835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042835
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042835#FFFFFF#000000##FFFFFF
##0428351.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212736
Deuteranopia (green-blind)
#1A2235
Tritanopia (blue-blind)
#002C2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042835;
/* rgb */ color: rgb(4, 40, 53);
/* oklch */ color: oklch(25.9% 0.046 227.0);
Tailwind
colors: {
  custom: {
    50: '#4d616c',
    500: '#042835',
    950: '#000000',
  },
}
SCSS
$custom: #042835;
$custom-light: #4d616c;
$custom-dark: #000000;
JSON
{
  "hex": "#042835",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 53
  },
  "hsl": {
    "h": 195.918,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.25912,
    "c": 0.04615,
    "h": 227
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#042835
secondary
#77351E
accent
#632CFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020507
muted
#78797A

Preview Lab

Preview with #042835

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

Preview Lab → · Contrast checker → · Palette generator →

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