#062140#062140

#062140 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.067 H 254.3°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#062140
RGBrgb(6, 33, 64)
HSLhsl(212, 83%, 14%)
HSVhsv(212, 91%, 25%)
CMYKcmyk(90.6%, 48.4%, 0%, 74.9%)
CIE-LABlab(12.59, 3.42, -22.61)
CIE-LCHlch(12.59, 22.86, 278.60°)
OKLaboklab(24.72% -0.0182 -0.0647)
OKLCHoklch(24.72% 0.067 254.3)
XYZxyz(1.5440, 1.4964, 5.0570)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062140 #402506
analogous
#063E40 #062140 #080640
triadic
#062140 #400621 #214006
tetradic
#062140 #40063E #402506 #064008
square
#062140 #40063E #402506 #064008
split-complementary
#062140 #400806 #3E4006
monochromatic
#030E1C #030E1C #062140 #0B3E78 #105BB0

Accessibility & contrast

On white

16.16
#062140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#062140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062140
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062140#FFFFFF#000000##FFFFFF
##0621401.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112441
Deuteranopia (green-blind)
#071E3F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #062140;
/* rgb */ color: rgb(6, 33, 64);
/* oklch */ color: oklch(24.7% 0.067 254.3);
Tailwind
colors: {
  custom: {
    50: '#515b75',
    500: '#062140',
    950: '#000000',
  },
}
SCSS
$custom: #062140;
$custom-light: #515b75;
$custom-dark: #000000;
JSON
{
  "hex": "#062140",
  "rgb": {
    "r": 6,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 212.069,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2472,
    "c": 0.06726,
    "h": 254.3
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#062140
secondary
#805422
accent
#9B2FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #062140

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

Preview Lab → · Contrast checker → · Palette generator →

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