#042334#042334

#042334 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.3% C 0.048 H 237.2°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#042334
RGBrgb(4, 35, 52)
HSLhsl(201, 86%, 11%)
HSVhsv(201, 92%, 20%)
CMYKcmyk(92.3%, 32.7%, 0%, 79.6%)
CIE-LABlab(12.45, -3.97, -14.33)
CIE-LCHlch(12.45, 14.87, 254.51°)
OKLaboklab(24.34% -0.0261 -0.0405)
OKLCHoklch(24.34% 0.048 237.2)
XYZxyz(1.2707, 1.4757, 3.4660)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042334 #341504
analogous
#04342D #042334 #040B34
triadic
#042334 #340423 #233404
tetradic
#042334 #2D0434 #341504 #0B3404
square
#042334 #2D0434 #341504 #0B3404
split-complementary
#042334 #34040B #342D04
monochromatic
#02131C #02131C #042334 #08496D #0D6FA6

Accessibility & contrast

On white

16.21
#042334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#042334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042334
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042334#FFFFFF#000000##FFFFFF
##0423341.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2335
Deuteranopia (green-blind)
#141E34
Tritanopia (blue-blind)
#002729
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #042334;
/* rgb */ color: rgb(4, 35, 52);
/* oklch */ color: oklch(24.3% 0.048 237.2);
Tailwind
colors: {
  custom: {
    50: '#4d5d6b',
    500: '#042334',
    950: '#000000',
  },
}
SCSS
$custom: #042334;
$custom-light: #4d5d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#042334",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 52
  },
  "hsl": {
    "h": 201.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.24337,
    "c": 0.04821,
    "h": 237.2
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#042334
secondary
#763D1E
accent
#762CFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #042334

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

Preview Lab → · Contrast checker → · Palette generator →

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