#062840#062840

#062840 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.7% C 0.059 H 244.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#062840
RGBrgb(6, 40, 64)
HSLhsl(205, 83%, 14%)
HSVhsv(205, 91%, 25%)
CMYKcmyk(90.6%, 37.5%, 0%, 74.9%)
CIE-LABlab(15.10, -1.78, -18.62)
CIE-LCHlch(15.10, 18.70, 264.54°)
OKLaboklab(26.69% -0.0255 -0.0529)
OKLCHoklch(26.69% 0.059 244.2)
XYZxyz(1.7589, 1.9263, 5.1286)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062840 #401E06
analogous
#06403B #062840 #060B40
triadic
#062840 #400628 #284006
tetradic
#062840 #3B0640 #401E06 #0B4006
square
#062840 #3B0640 #401E06 #0B4006
split-complementary
#062840 #40060B #403B06
monochromatic
#03111C #03111C #062840 #0B4B78 #106EB0

Accessibility & contrast

On white

15.16
#062840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#062840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062840
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062840#FFFFFF#000000##FFFFFF
##0628401.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #062840;
/* rgb */ color: rgb(6, 40, 64);
/* oklch */ color: oklch(26.7% 0.059 244.2);
Tailwind
colors: {
  custom: {
    50: '#516175',
    500: '#062840',
    950: '#000000',
  },
}
SCSS
$custom: #062840;
$custom-light: #516175;
$custom-dark: #000000;
JSON
{
  "hex": "#062840",
  "rgb": {
    "r": 6,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 204.828,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26688,
    "c": 0.05874,
    "h": 244.2
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#062840
secondary
#804922
accent
#822FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #062840

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

Preview Lab → · Contrast checker → · Palette generator →

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