#062842#062842

#062842 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.8% C 0.062 H 246.2°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#062842
RGBrgb(6, 40, 66)
HSLhsl(206, 83%, 14%)
HSVhsv(206, 91%, 26%)
CMYKcmyk(90.9%, 39.4%, 0%, 74.1%)
CIE-LABlab(15.22, -0.88, -19.81)
CIE-LCHlch(15.22, 19.83, 267.47°)
OKLaboklab(26.83% -0.0248 -0.0564)
OKLCHoklch(26.83% 0.062 246.2)
XYZxyz(1.8169, 1.9494, 5.4337)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062842 #422006
analogous
#06423E #062842 #060A42
triadic
#062842 #420628 #284206
tetradic
#062842 #3E0642 #422006 #0A4206
square
#062842 #3E0642 #422006 #0A4206
split-complementary
#062842 #42060A #423E06
monochromatic
#03111C #03111C #062842 #0B4A7A #106CB2

Accessibility & contrast

On white

15.11
#062842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#062842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062842
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062842#FFFFFF#000000##FFFFFF
##0628421.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#132442
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #062842;
/* rgb */ color: rgb(6, 40, 66);
/* oklch */ color: oklch(26.8% 0.062 246.2);
Tailwind
colors: {
  custom: {
    50: '#516176',
    500: '#062842',
    950: '#000000',
  },
}
SCSS
$custom: #062842;
$custom-light: #516176;
$custom-dark: #000000;
JSON
{
  "hex": "#062842",
  "rgb": {
    "r": 6,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 206,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26827,
    "c": 0.06161,
    "h": 246.2
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#062842
secondary
#824C22
accent
#862EFA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #062842

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

Preview Lab → · Contrast checker → · Palette generator →

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