#062240#062240

#062240 is a very dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.066 H 253.0°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#062240
RGBrgb(6, 34, 64)
HSLhsl(211, 83%, 14%)
HSVhsv(211, 91%, 25%)
CMYKcmyk(90.6%, 46.9%, 0%, 74.9%)
CIE-LABlab(12.94, 2.66, -22.04)
CIE-LCHlch(12.94, 22.20, 276.88°)
OKLaboklab(25% -0.0192 -0.0631)
OKLCHoklch(25% 0.066 253)
XYZxyz(1.5722, 1.5527, 5.0663)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062240 #402406
analogous
#063F40 #062240 #070640
triadic
#062240 #400622 #224006
tetradic
#062240 #40063F #402406 #064007
square
#062240 #40063F #402406 #064007
split-complementary
#062240 #400706 #3F4006
monochromatic
#030F1C #030F1C #062240 #0B4078 #105DB0

Accessibility & contrast

On white

16.02
#062240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#062240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062240
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062240#FFFFFF#000000##FFFFFF
##0622401.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132441
Deuteranopia (green-blind)
#091F3F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #062240;
/* rgb */ color: rgb(6, 34, 64);
/* oklch */ color: oklch(25.0% 0.066 253.0);
Tailwind
colors: {
  custom: {
    50: '#515c75',
    500: '#062240',
    950: '#000000',
  },
}
SCSS
$custom: #062240;
$custom-light: #515c75;
$custom-dark: #000000;
JSON
{
  "hex": "#062240",
  "rgb": {
    "r": 6,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 211.034,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24996,
    "c": 0.06592,
    "h": 253
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#062240
secondary
#805322
accent
#972FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #062240

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

Preview Lab → · Contrast checker → · Palette generator →

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