#042333#042333

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

Color values

HEX#042333
RGBrgb(4, 35, 51)
HSLhsl(200, 85%, 11%)
HSVhsv(200, 92%, 20%)
CMYKcmyk(92.2%, 31.4%, 0%, 80%)
CIE-LABlab(12.39, -4.42, -13.70)
CIE-LCHlch(12.39, 14.40, 252.12°)
OKLaboklab(24.27% -0.0265 -0.0387)
OKLCHoklch(24.27% 0.047 235.6)
XYZxyz(1.2484, 1.4667, 3.3486)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042333 #331404
analogous
#04332B #042333 #040B33
triadic
#042333 #330423 #233304
tetradic
#042333 #2B0433 #331404 #0B3304
square
#042333 #2B0433 #331404 #0B3304
split-complementary
#042333 #33040B #332B04
monochromatic
#02131C #02131C #042333 #084A6C #0D71A4

Accessibility & contrast

On white

16.24
#042333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#042333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042333
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042333#FFFFFF#000000##FFFFFF
##0423331.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2334
Deuteranopia (green-blind)
#151E33
Tritanopia (blue-blind)
#002728
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #042333;
/* rgb */ color: rgb(4, 35, 51);
/* oklch */ color: oklch(24.3% 0.047 235.6);
Tailwind
colors: {
  custom: {
    50: '#4c5d6a',
    500: '#042333',
    950: '#000000',
  },
}
SCSS
$custom: #042333;
$custom-light: #4c5d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#042333",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 51
  },
  "hsl": {
    "h": 200.426,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.24273,
    "c": 0.04693,
    "h": 235.6
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#042333
secondary
#753B1D
accent
#732CFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #042333

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

Preview Lab → · Contrast checker → · Palette generator →

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