#062540#062540

#062540 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.8% C 0.062 H 248.9°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#062540
RGBrgb(6, 37, 64)
HSLhsl(208, 83%, 14%)
HSVhsv(208, 91%, 25%)
CMYKcmyk(90.6%, 42.2%, 0%, 74.9%)
CIE-LABlab(14.01, 0.41, -20.33)
CIE-LCHlch(14.01, 20.34, 271.15°)
OKLaboklab(25.84% -0.0223 -0.058)
OKLCHoklch(25.84% 0.062 248.9)
XYZxyz(1.6617, 1.7318, 5.0962)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062540 #402106
analogous
#06403E #062540 #060840
triadic
#062540 #400625 #254006
tetradic
#062540 #3E0640 #402106 #084006
square
#062540 #3E0640 #402106 #084006
split-complementary
#062540 #400608 #403E06
monochromatic
#03101C #03101C #062540 #0B4578 #1066B0

Accessibility & contrast

On white

15.60
#062540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#062540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062540
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062540#FFFFFF#000000##FFFFFF
##0625401.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182741
Deuteranopia (green-blind)
#0F213F
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #062540;
/* rgb */ color: rgb(6, 37, 64);
/* oklch */ color: oklch(25.8% 0.062 248.9);
Tailwind
colors: {
  custom: {
    50: '#515f75',
    500: '#062540',
    950: '#000000',
  },
}
SCSS
$custom: #062540;
$custom-light: #515f75;
$custom-dark: #000000;
JSON
{
  "hex": "#062540",
  "rgb": {
    "r": 6,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 207.931,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25835,
    "c": 0.06213,
    "h": 248.9
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#062540
secondary
#804E22
accent
#8D2FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #062540

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

Preview Lab → · Contrast checker → · Palette generator →

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