#062F3F#062F3F

#062F3F is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.052 H 229.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#062F3F
RGBrgb(6, 47, 63)
HSLhsl(197, 83%, 14%)
HSVhsv(197, 90%, 25%)
CMYKcmyk(90.5%, 25.4%, 0%, 75.3%)
CIE-LABlab(17.60, -7.06, -14.00)
CIE-LCHlch(17.60, 15.68, 243.25°)
OKLaboklab(28.66% -0.0337 -0.0394)
OKLCHoklch(28.66% 0.052 229.4)
XYZxyz(1.9885, 2.4304, 5.0660)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F3F #3F1606
analogous
#063F32 #062F3F #06123F
triadic
#062F3F #3F062F #2F3F06
tetradic
#062F3F #32063F #3F1606 #123F06
square
#062F3F #32063F #3F1606 #123F06
split-complementary
#062F3F #3F0612 #3F3206
monochromatic
#03151C #03151C #062F3F #0B5977 #1182AF

Accessibility & contrast

On white

14.13
#062F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#062F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062F3F
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F3F#FFFFFF#000000##FFFFFF
##062F3F1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E40
Deuteranopia (green-blind)
#1F293F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #062f3f;
/* rgb */ color: rgb(6, 47, 63);
/* oklch */ color: oklch(28.7% 0.052 229.4);
Tailwind
colors: {
  custom: {
    50: '#516774',
    500: '#062f3f',
    950: '#000000',
  },
}
SCSS
$custom: #062f3f;
$custom-light: #516774;
$custom-dark: #000000;
JSON
{
  "hex": "#062f3f",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 196.842,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28661,
    "c": 0.05187,
    "h": 229.4
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#062F3F
secondary
#7F3C22
accent
#682FF9
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #062F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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