#062440#062440

#062440 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.6% C 0.063 H 250.4°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#062440
RGBrgb(6, 36, 64)
HSLhsl(209, 83%, 14%)
HSVhsv(209, 91%, 25%)
CMYKcmyk(90.6%, 43.8%, 0%, 74.9%)
CIE-LABlab(13.65, 1.15, -20.90)
CIE-LCHlch(13.65, 20.93, 273.16°)
OKLaboklab(25.55% -0.0213 -0.0597)
OKLCHoklch(25.55% 0.063 250.4)
XYZxyz(1.6310, 1.6704, 5.0860)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062440 #402206
analogous
#06403F #062440 #060740
triadic
#062440 #400624 #244006
tetradic
#062440 #3F0640 #402206 #074006
square
#062440 #3F0640 #402206 #074006
split-complementary
#062440 #400607 #403F06
monochromatic
#03101C #03101C #062440 #0B4378 #1063B0

Accessibility & contrast

On white

15.74
#062440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#062440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062440
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062440#FFFFFF#000000##FFFFFF
##0624401.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172641
Deuteranopia (green-blind)
#0D203F
Tritanopia (blue-blind)
#002B2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #062440;
/* rgb */ color: rgb(6, 36, 64);
/* oklch */ color: oklch(25.6% 0.063 250.4);
Tailwind
colors: {
  custom: {
    50: '#515e75',
    500: '#062440',
    950: '#000000',
  },
}
SCSS
$custom: #062440;
$custom-light: #515e75;
$custom-dark: #000000;
JSON
{
  "hex": "#062440",
  "rgb": {
    "r": 6,
    "g": 36,
    "b": 64
  },
  "hsl": {
    "h": 208.966,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25554,
    "c": 0.06335,
    "h": 250.4
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#062440
secondary
#804F22
accent
#902FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #062440

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

Preview Lab → · Contrast checker → · Palette generator →

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