#062A3F#062A3F

#062A3F is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.2% C 0.055 H 239.5°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#062A3F
RGBrgb(6, 42, 63)
HSLhsl(202, 83%, 14%)
HSVhsv(202, 90%, 25%)
CMYKcmyk(90.5%, 33.3%, 0%, 75.3%)
CIE-LABlab(15.76, -3.64, -16.87)
CIE-LCHlch(15.76, 17.26, 257.81°)
OKLaboklab(27.2% -0.0281 -0.0478)
OKLCHoklch(27.2% 0.055 239.5)
XYZxyz(1.7999, 2.0533, 5.0031)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A3F #3F1B06
analogous
#063F37 #062A3F #060D3F
triadic
#062A3F #3F062A #2A3F06
tetradic
#062A3F #37063F #3F1B06 #0D3F06
square
#062A3F #37063F #3F1B06 #0D3F06
split-complementary
#062A3F #3F060D #3F3706
monochromatic
#03131C #03131C #062A3F #0B4F77 #1175AF

Accessibility & contrast

On white

14.89
#062A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#062A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A3F
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A3F#FFFFFF#000000##FFFFFF
##062A3F1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#18253F
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #062a3f;
/* rgb */ color: rgb(6, 42, 63);
/* oklch */ color: oklch(27.2% 0.055 239.5);
Tailwind
colors: {
  custom: {
    50: '#516374',
    500: '#062a3f',
    950: '#000000',
  },
}
SCSS
$custom: #062a3f;
$custom-light: #516374;
$custom-dark: #000000;
JSON
{
  "hex": "#062a3f",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 202.105,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.27198,
    "c": 0.05542,
    "h": 239.5
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#062A3F
secondary
#7F4422
accent
#792FF9
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #062A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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