#042134#042134

#042134 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.7% C 0.050 H 241.6°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#042134
RGBrgb(4, 33, 52)
HSLhsl(204, 86%, 11%)
HSVhsv(204, 92%, 20%)
CMYKcmyk(92.3%, 36.5%, 0%, 79.6%)
CIE-LABlab(11.70, -2.53, -15.51)
CIE-LCHlch(11.70, 15.72, 260.76°)
OKLaboklab(23.74% -0.0238 -0.044)
OKLCHoklch(23.74% 0.05 241.6)
XYZxyz(1.2135, 1.3613, 3.4469)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042134 #341704
analogous
#04342F #042134 #040934
triadic
#042134 #340421 #213404
tetradic
#042134 #2F0434 #341704 #093404
square
#042134 #2F0434 #341704 #093404
split-complementary
#042134 #340409 #342F04
monochromatic
#02121C #02121C #042134 #08456D #0D69A6

Accessibility & contrast

On white

16.51
#042134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042134
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042134#FFFFFF#000000##FFFFFF
##0421341.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042134;
/* rgb */ color: rgb(4, 33, 52);
/* oklch */ color: oklch(23.7% 0.050 241.6);
Tailwind
colors: {
  custom: {
    50: '#4c5c6b',
    500: '#042134',
    950: '#000000',
  },
}
SCSS
$custom: #042134;
$custom-light: #4c5c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#042134",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 52
  },
  "hsl": {
    "h": 203.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23739,
    "c": 0.05004,
    "h": 241.6
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#042134
secondary
#76411E
accent
#7E2CFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #042134

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

Preview Lab → · Contrast checker → · Palette generator →

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