#062340#062340

#062340 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.3% C 0.065 H 251.7°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#062340
RGBrgb(6, 35, 64)
HSLhsl(210, 83%, 14%)
HSVhsv(210, 91%, 25%)
CMYKcmyk(90.6%, 45.3%, 0%, 74.9%)
CIE-LABlab(13.30, 1.90, -21.47)
CIE-LCHlch(13.30, 21.55, 275.06°)
OKLaboklab(25.27% -0.0202 -0.0614)
OKLCHoklch(25.27% 0.065 251.7)
XYZxyz(1.6012, 1.6108, 5.0760)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062340 #402306
analogous
#064040 #062340 #060640
triadic
#062340 #400623 #234006
tetradic
#062340 #400640 #402306 #064006
square
#062340 #400640 #402306 #064006
split-complementary
#062340 #400606 #404006
monochromatic
#030F1C #030F1C #062340 #0B4278 #1060B0

Accessibility & contrast

On white

15.88
#062340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#062340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062340
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062340#FFFFFF#000000##FFFFFF
##0623401.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#0B203F
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #062340;
/* rgb */ color: rgb(6, 35, 64);
/* oklch */ color: oklch(25.3% 0.065 251.7);
Tailwind
colors: {
  custom: {
    50: '#515d75',
    500: '#062340',
    950: '#000000',
  },
}
SCSS
$custom: #062340;
$custom-light: #515d75;
$custom-dark: #000000;
JSON
{
  "hex": "#062340",
  "rgb": {
    "r": 6,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 210,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25274,
    "c": 0.06462,
    "h": 251.7
  },
  "luminance": 0.01611
}

Semantic roles & 50–950 ramp

primary
#062340
secondary
#805122
accent
#942FF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #062340

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

Preview Lab → · Contrast checker → · Palette generator →

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