#062742#062742

#062742 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.5% C 0.063 H 247.7°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#062742
RGBrgb(6, 39, 66)
HSLhsl(207, 83%, 14%)
HSVhsv(207, 91%, 26%)
CMYKcmyk(90.9%, 40.9%, 0%, 74.1%)
CIE-LABlab(14.86, -0.15, -20.38)
CIE-LCHlch(14.86, 20.38, 269.58°)
OKLaboklab(26.54% -0.0238 -0.0581)
OKLCHoklch(26.54% 0.063 247.7)
XYZxyz(1.7836, 1.8829, 5.4226)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062742 #422106
analogous
#06423F #062742 #060942
triadic
#062742 #420627 #274206
tetradic
#062742 #3F0642 #422106 #094206
square
#062742 #3F0642 #422106 #094206
split-complementary
#062742 #420609 #423F06
monochromatic
#03111C #03111C #062742 #0B487A #1069B2

Accessibility & contrast

On white

15.25
#062742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#062742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062742
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062742#FFFFFF#000000##FFFFFF
##0627421.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2843
Deuteranopia (green-blind)
#112341
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062742;
/* rgb */ color: rgb(6, 39, 66);
/* oklch */ color: oklch(26.5% 0.063 247.7);
Tailwind
colors: {
  custom: {
    50: '#516076',
    500: '#062742',
    950: '#000000',
  },
}
SCSS
$custom: #062742;
$custom-light: #516076;
$custom-dark: #000000;
JSON
{
  "hex": "#062742",
  "rgb": {
    "r": 6,
    "g": 39,
    "b": 66
  },
  "hsl": {
    "h": 207,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26544,
    "c": 0.06275,
    "h": 247.7
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#062742
secondary
#824D22
accent
#8A2EFA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #062742

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

Preview Lab → · Contrast checker → · Palette generator →

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