#042235#042235

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

Color values

HEX#042235
RGBrgb(4, 34, 53)
HSLhsl(203, 86%, 11%)
HSVhsv(203, 92%, 21%)
CMYKcmyk(92.5%, 35.8%, 0%, 79.2%)
CIE-LABlab(12.13, -2.80, -15.54)
CIE-LCHlch(12.13, 15.79, 259.79°)
OKLaboklab(24.1% -0.0246 -0.0441)
OKLCHoklch(24.1% 0.05 240.9)
XYZxyz(1.2644, 1.4268, 3.5762)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042235 #351704
analogous
#04352F #042235 #040935
triadic
#042235 #350422 #223504
tetradic
#042235 #2F0435 #351704 #093504
square
#042235 #2F0435 #351704 #093504
split-complementary
#042235 #350409 #352F04
monochromatic
#02121C #02121C #042235 #08476E #0D6BA7

Accessibility & contrast

On white

16.34
#042235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042235
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042235#FFFFFF#000000##FFFFFF
##0422351.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192236
Deuteranopia (green-blind)
#121E35
Tritanopia (blue-blind)
#002729
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #042235;
/* rgb */ color: rgb(4, 34, 53);
/* oklch */ color: oklch(24.1% 0.050 240.9);
Tailwind
colors: {
  custom: {
    50: '#4d5c6c',
    500: '#042235',
    950: '#000000',
  },
}
SCSS
$custom: #042235;
$custom-light: #4d5c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#042235",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 53
  },
  "hsl": {
    "h": 203.265,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.24105,
    "c": 0.05046,
    "h": 240.9
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#042235
secondary
#77401E
accent
#7C2CFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042235

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

Preview Lab → · Contrast checker → · Palette generator →

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