#062C42#062C42

#062C42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.058 H 239.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#062C42
RGBrgb(6, 44, 66)
HSLhsl(202, 83%, 14%)
HSVhsv(202, 91%, 26%)
CMYKcmyk(90.9%, 33.3%, 0%, 74.1%)
CIE-LABlab(16.67, -3.72, -17.53)
CIE-LCHlch(16.67, 17.92, 258.02°)
OKLaboklab(27.97% -0.0291 -0.0496)
OKLCHoklch(27.97% 0.058 239.6)
XYZxyz(1.9588, 2.2332, 5.4810)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062C42 #421C06
analogous
#06423A #062C42 #060E42
triadic
#062C42 #42062C #2C4206
tetradic
#062C42 #3A0642 #421C06 #0E4206
square
#062C42 #3A0642 #421C06 #0E4206
split-complementary
#062C42 #42060E #423A06
monochromatic
#03131C #03131C #062C42 #0B517A #1077B2

Accessibility & contrast

On white

14.52
#062C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#062C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062C42
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062C42#FFFFFF#000000##FFFFFF
##062C421.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C43
Deuteranopia (green-blind)
#192742
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #062c42;
/* rgb */ color: rgb(6, 44, 66);
/* oklch */ color: oklch(28.0% 0.058 239.6);
Tailwind
colors: {
  custom: {
    50: '#516476',
    500: '#062c42',
    950: '#000000',
  },
}
SCSS
$custom: #062c42;
$custom-light: #516476;
$custom-dark: #000000;
JSON
{
  "hex": "#062c42",
  "rgb": {
    "r": 6,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 202,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2797,
    "c": 0.05757,
    "h": 239.6
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#062C42
secondary
#824522
accent
#792EFA
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020508
muted
#787A7B

Preview Lab

Preview with #062C42

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

Preview Lab → · Contrast checker → · Palette generator →

#062C42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva