#062142#062142

#062142 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.9% C 0.070 H 255.4°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#062142
RGBrgb(6, 33, 66)
HSLhsl(213, 83%, 14%)
HSVhsv(213, 91%, 26%)
CMYKcmyk(90.9%, 50%, 0%, 74.1%)
CIE-LABlab(12.73, 4.35, -23.77)
CIE-LCHlch(12.73, 24.17, 280.37°)
OKLaboklab(24.88% -0.0177 -0.0682)
OKLCHoklch(24.88% 0.07 255.4)
XYZxyz(1.6020, 1.5196, 5.3621)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062142 #422706
analogous
#063F42 #062142 #090642
triadic
#062142 #420621 #214206
tetradic
#062142 #42063F #422706 #064209
square
#062142 #42063F #422706 #064209
split-complementary
#062142 #420906 #3F4206
monochromatic
#030E1C #030E1C #062142 #0B3D7A #1059B2

Accessibility & contrast

On white

16.10
#062142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#062142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062142
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062142#FFFFFF#000000##FFFFFF
##0621421.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#041E41
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #062142;
/* rgb */ color: rgb(6, 33, 66);
/* oklch */ color: oklch(24.9% 0.070 255.4);
Tailwind
colors: {
  custom: {
    50: '#515b76',
    500: '#062142',
    950: '#000000',
  },
}
SCSS
$custom: #062142;
$custom-light: #515b76;
$custom-dark: #000000;
JSON
{
  "hex": "#062142",
  "rgb": {
    "r": 6,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 213,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24882,
    "c": 0.07043,
    "h": 255.4
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#062142
secondary
#825722
accent
#9E2EFA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #062142

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

Preview Lab → · Contrast checker → · Palette generator →

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