#062940#062940

#062940 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.058 H 242.5°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#062940
RGBrgb(6, 41, 64)
HSLhsl(204, 83%, 14%)
HSVhsv(204, 91%, 25%)
CMYKcmyk(90.6%, 35.9%, 0%, 74.9%)
CIE-LABlab(15.46, -2.49, -18.04)
CIE-LCHlch(15.46, 18.21, 262.14°)
OKLaboklab(26.98% -0.0266 -0.0512)
OKLCHoklch(26.98% 0.058 242.5)
XYZxyz(1.7931, 1.9945, 5.1400)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062940 #401D06
analogous
#06403A #062940 #060C40
triadic
#062940 #400629 #294006
tetradic
#062940 #3A0640 #401D06 #0C4006
square
#062940 #3A0640 #401D06 #0C4006
split-complementary
#062940 #40060C #403A06
monochromatic
#03121C #03121C #062940 #0B4D78 #1071B0

Accessibility & contrast

On white

15.01
#062940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#062940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062940
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062940#FFFFFF#000000##FFFFFF
##0629401.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A41
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #062940;
/* rgb */ color: rgb(6, 41, 64);
/* oklch */ color: oklch(27.0% 0.058 242.5);
Tailwind
colors: {
  custom: {
    50: '#516275',
    500: '#062940',
    950: '#000000',
  },
}
SCSS
$custom: #062940;
$custom-light: #516275;
$custom-dark: #000000;
JSON
{
  "hex": "#062940",
  "rgb": {
    "r": 6,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 203.793,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26975,
    "c": 0.05772,
    "h": 242.5
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#062940
secondary
#804722
accent
#7F2FF9
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #062940

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

Preview Lab → · Contrast checker → · Palette generator →

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