#062740#062740

#062740 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.4% C 0.060 H 245.9°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#062740
RGBrgb(6, 39, 64)
HSLhsl(206, 83%, 14%)
HSVhsv(206, 91%, 25%)
CMYKcmyk(90.6%, 39.1%, 0%, 74.9%)
CIE-LABlab(14.73, -1.05, -19.19)
CIE-LCHlch(14.73, 19.22, 266.85°)
OKLaboklab(26.4% -0.0244 -0.0546)
OKLCHoklch(26.4% 0.06 245.9)
XYZxyz(1.7257, 1.8597, 5.1175)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062740 #401F06
analogous
#06403C #062740 #060A40
triadic
#062740 #400627 #274006
tetradic
#062740 #3C0640 #401F06 #0A4006
square
#062740 #3C0640 #401F06 #0A4006
split-complementary
#062740 #40060A #403C06
monochromatic
#03111C #03111C #062740 #0B4978 #106BB0

Accessibility & contrast

On white

15.31
#062740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#062740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062740
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062740#FFFFFF#000000##FFFFFF
##0627401.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#132340
Tritanopia (blue-blind)
#002D30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062740;
/* rgb */ color: rgb(6, 39, 64);
/* oklch */ color: oklch(26.4% 0.060 245.9);
Tailwind
colors: {
  custom: {
    50: '#516075',
    500: '#062740',
    950: '#000000',
  },
}
SCSS
$custom: #062740;
$custom-light: #516075;
$custom-dark: #000000;
JSON
{
  "hex": "#062740",
  "rgb": {
    "r": 6,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 205.862,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26402,
    "c": 0.05982,
    "h": 245.9
  },
  "luminance": 0.0186
}

Semantic roles & 50–950 ramp

primary
#062740
secondary
#804A22
accent
#862FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #062740

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

Preview Lab → · Contrast checker → · Palette generator →

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