#042A37#042A37

#042A37 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.6% C 0.047 H 225.9°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#042A37
RGBrgb(4, 42, 55)
HSLhsl(195, 86%, 12%)
HSVhsv(195, 93%, 22%)
CMYKcmyk(92.7%, 23.6%, 0%, 78.4%)
CIE-LABlab(15.26, -7.49, -12.08)
CIE-LCHlch(15.26, 14.21, 238.21°)
OKLaboklab(26.64% -0.0329 -0.0339)
OKLCHoklch(26.64% 0.047 225.9)
XYZxyz(1.5673, 1.9574, 3.9089)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042A37 #371104
analogous
#04372B #042A37 #041137
triadic
#042A37 #37042A #2A3704
tetradic
#042A37 #2B0437 #371104 #113704
square
#042A37 #2B0437 #371104 #113704
split-complementary
#042A37 #370411 #372B04
monochromatic
#02161D #02161D #042A37 #085670 #0C81A9

Accessibility & contrast

On white

15.09
#042A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#042A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042A37
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042A37#FFFFFF#000000##FFFFFF
##042A371.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232938
Deuteranopia (green-blind)
#1C2437
Tritanopia (blue-blind)
#002E2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042a37;
/* rgb */ color: rgb(4, 42, 55);
/* oklch */ color: oklch(26.6% 0.047 225.9);
Tailwind
colors: {
  custom: {
    50: '#4e636d',
    500: '#042a37',
    950: '#000000',
  },
}
SCSS
$custom: #042a37;
$custom-light: #4e636d;
$custom-dark: #000000;
JSON
{
  "hex": "#042a37",
  "rgb": {
    "r": 4,
    "g": 42,
    "b": 55
  },
  "hsl": {
    "h": 195.294,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.26635,
    "c": 0.04726,
    "h": 225.9
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#042A37
secondary
#79351E
accent
#612BFD
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020507
muted
#78797A

Preview Lab

Preview with #042A37

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

Preview Lab → · Contrast checker → · Palette generator →

#042A37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva