#062F40#062F40

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

Color values

HEX#062F40
RGBrgb(6, 47, 64)
HSLhsl(198, 83%, 14%)
HSVhsv(198, 91%, 25%)
CMYKcmyk(90.6%, 26.6%, 0%, 74.9%)
CIE-LABlab(17.65, -6.63, -14.61)
CIE-LCHlch(17.65, 16.04, 245.58°)
OKLaboklab(28.72% -0.0333 -0.0411)
OKLCHoklch(28.72% 0.053 231)
XYZxyz(2.0167, 2.4417, 5.2145)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F40 #401706
analogous
#064034 #062F40 #061240
triadic
#062F40 #40062F #2F4006
tetradic
#062F40 #340640 #401706 #124006
square
#062F40 #340640 #401706 #124006
split-complementary
#062F40 #400612 #403406
monochromatic
#03151C #03151C #062F40 #0B5878 #1081B0

Accessibility & contrast

On white

14.11
#062F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062F40
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F40#FFFFFF#000000##FFFFFF
##062F401.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E41
Deuteranopia (green-blind)
#1F2940
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #062f40;
/* rgb */ color: rgb(6, 47, 64);
/* oklch */ color: oklch(28.7% 0.053 231.0);
Tailwind
colors: {
  custom: {
    50: '#516775',
    500: '#062f40',
    950: '#000000',
  },
}
SCSS
$custom: #062f40;
$custom-light: #516775;
$custom-dark: #000000;
JSON
{
  "hex": "#062f40",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 197.586,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2872,
    "c": 0.05294,
    "h": 231
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#062F40
secondary
#803D22
accent
#6A2FF9
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #062F40

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

Preview Lab → · Contrast checker → · Palette generator →

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