#042231#042231

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

Color values

HEX#042231
RGBrgb(4, 34, 49)
HSLhsl(200, 85%, 10%)
HSVhsv(200, 92%, 19%)
CMYKcmyk(91.8%, 30.6%, 0%, 80.8%)
CIE-LABlab(11.90, -4.61, -13.04)
CIE-LCHlch(11.90, 13.83, 250.54°)
OKLaboklab(23.84% -0.0262 -0.0368)
OKLCHoklch(23.84% 0.045 234.5)
XYZxyz(1.1763, 1.3915, 3.1117)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042231 #311304
analogous
#043129 #042231 #040B31
triadic
#042231 #310422 #223104
tetradic
#042231 #290431 #311304 #0B3104
square
#042231 #290431 #311304 #0B3104
split-complementary
#042231 #31040B #312904
monochromatic
#02141C #02141C #042231 #09496A #0D71A2

Accessibility & contrast

On white

16.43
#042231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042231
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042231#FFFFFF#000000##FFFFFF
##0422311.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2232
Deuteranopia (green-blind)
#141D31
Tritanopia (blue-blind)
#002627
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042231;
/* rgb */ color: rgb(4, 34, 49);
/* oklch */ color: oklch(23.8% 0.045 234.5);
Tailwind
colors: {
  custom: {
    50: '#4c5c69',
    500: '#042231',
    950: '#000000',
  },
}
SCSS
$custom: #042231;
$custom-light: #4c5c69;
$custom-dark: #000000;
JSON
{
  "hex": "#042231",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 200,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.23842,
    "c": 0.04519,
    "h": 234.5
  },
  "luminance": 0.01392
}

Semantic roles & 50–950 ramp

primary
#042231
secondary
#733A1D
accent
#712DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #042231

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

Preview Lab → · Contrast checker → · Palette generator →

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