#042233#042233

#042233 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.0% C 0.048 H 237.9°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#042233
RGBrgb(4, 34, 51)
HSLhsl(202, 85%, 11%)
HSVhsv(202, 92%, 20%)
CMYKcmyk(92.2%, 33.3%, 0%, 80%)
CIE-LABlab(12.02, -3.71, -14.30)
CIE-LCHlch(12.02, 14.77, 255.47°)
OKLaboklab(23.97% -0.0254 -0.0404)
OKLCHoklch(23.97% 0.048 237.9)
XYZxyz(1.2194, 1.4087, 3.3390)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042233 #331504
analogous
#04332C #042233 #040A33
triadic
#042233 #330422 #223304
tetradic
#042233 #2C0433 #331504 #0A3304
square
#042233 #2C0433 #331504 #0A3304
split-complementary
#042233 #33040A #332C04
monochromatic
#02131C #02131C #042233 #08486C #0D6EA4

Accessibility & contrast

On white

16.38
#042233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#042233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042233
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042233#FFFFFF#000000##FFFFFF
##0422331.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2234
Deuteranopia (green-blind)
#131E33
Tritanopia (blue-blind)
#002628
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #042233;
/* rgb */ color: rgb(4, 34, 51);
/* oklch */ color: oklch(24.0% 0.048 237.9);
Tailwind
colors: {
  custom: {
    50: '#4c5c6a',
    500: '#042233',
    950: '#000000',
  },
}
SCSS
$custom: #042233;
$custom-light: #4c5c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#042233",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 201.702,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.23971,
    "c": 0.04775,
    "h": 237.9
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#042233
secondary
#753D1D
accent
#772CFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #042233

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

Preview Lab → · Contrast checker → · Palette generator →

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