#042135#042135

#042135 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.8% C 0.051 H 242.9°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#042135
RGBrgb(4, 33, 53)
HSLhsl(204, 86%, 11%)
HSVhsv(204, 92%, 21%)
CMYKcmyk(92.5%, 37.7%, 0%, 79.2%)
CIE-LABlab(11.76, -2.06, -16.13)
CIE-LCHlch(11.76, 16.26, 262.71°)
OKLaboklab(23.81% -0.0234 -0.0458)
OKLCHoklch(23.81% 0.051 242.9)
XYZxyz(1.2363, 1.3704, 3.5668)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042135 #351804
analogous
#043530 #042135 #040835
triadic
#042135 #350421 #213504
tetradic
#042135 #300435 #351804 #083504
square
#042135 #300435 #351804 #083504
split-complementary
#042135 #350408 #353004
monochromatic
#02121C #02121C #042135 #08446E #0D68A7

Accessibility & contrast

On white

16.48
#042135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#042135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042135
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042135#FFFFFF#000000##FFFFFF
##0421351.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182236
Deuteranopia (green-blind)
#111D35
Tritanopia (blue-blind)
#002628
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042135;
/* rgb */ color: rgb(4, 33, 53);
/* oklch */ color: oklch(23.8% 0.051 242.9);
Tailwind
colors: {
  custom: {
    50: '#4d5b6c',
    500: '#042135',
    950: '#000000',
  },
}
SCSS
$custom: #042135;
$custom-light: #4d5b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#042135",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 53
  },
  "hsl": {
    "h": 204.49,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23808,
    "c": 0.05146,
    "h": 242.9
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#042135
secondary
#77421E
accent
#812CFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042135

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

Preview Lab → · Contrast checker → · Palette generator →

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