#062042#062042

#062042 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.6% C 0.072 H 256.5°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#062042
RGBrgb(6, 32, 66)
HSLhsl(214, 83%, 14%)
HSVhsv(214, 91%, 26%)
CMYKcmyk(90.9%, 51.5%, 0%, 74.1%)
CIE-LABlab(12.38, 5.12, -24.33)
CIE-LCHlch(12.38, 24.86, 281.89°)
OKLaboklab(24.61% -0.0168 -0.0698)
OKLCHoklch(24.61% 0.072 256.5)
XYZxyz(1.5746, 1.4649, 5.3530)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062042 #422806
analogous
#063E42 #062042 #0A0642
triadic
#062042 #420620 #204206
tetradic
#062042 #42063E #422806 #06420A
square
#062042 #42063E #422806 #06420A
split-complementary
#062042 #420A06 #3E4206
monochromatic
#030E1C #030E1C #062042 #0B3B7A #1056B2

Accessibility & contrast

On white

16.24
#062042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062042
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062042#FFFFFF#000000##FFFFFF
##0620421.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2343
Deuteranopia (green-blind)
#021E41
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #062042;
/* rgb */ color: rgb(6, 32, 66);
/* oklch */ color: oklch(24.6% 0.072 256.5);
Tailwind
colors: {
  custom: {
    50: '#515a76',
    500: '#062042',
    950: '#000000',
  },
}
SCSS
$custom: #062042;
$custom-light: #515a76;
$custom-dark: #000000;
JSON
{
  "hex": "#062042",
  "rgb": {
    "r": 6,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 214,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24612,
    "c": 0.07182,
    "h": 256.5
  },
  "luminance": 0.01465
}

Semantic roles & 50–950 ramp

primary
#062042
secondary
#825822
accent
#A12EFA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #062042

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

Preview Lab → · Contrast checker → · Palette generator →

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