#6062CD#6062CD

#6062CD is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.0% C 0.162 H 278.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6062CD
RGBrgb(96, 98, 205)
HSLhsl(239, 52%, 59%)
HSVhsv(239, 53%, 80%)
CMYKcmyk(53.2%, 52.2%, 0%, 19.6%)
CIE-LABlab(46.48, 29.09, -55.96)
CIE-LCHlch(46.48, 63.07, 297.47°)
OKLaboklab(55.02% 0.0249 -0.1599)
OKLCHoklch(55.02% 0.162 278.9)
XYZxyz(20.2076, 15.6287, 59.6976)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062CD #CDCB60
analogous
#6099CD #6062CD #9560CD
triadic
#6062CD #CD6062 #62CD60
tetradic
#6062CD #CD6099 #CDCB60 #60CD95
square
#6062CD #CD6099 #CDCB60 #60CD95
split-complementary
#6062CD #CD9560 #99CD60
monochromatic
#2B2C88 #393CB6 #6062CD #8F90DC #BDBEEA

Accessibility & contrast

On white

5.09
#6062CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6062CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062CD#FFFFFF#000000##FFFFFF
##6062CD1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#186ACB
Tritanopia (blue-blind)
#2F7A8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6062cd;
/* rgb */ color: rgb(96, 98, 205);
/* oklch */ color: oklch(55.0% 0.162 278.9);
Tailwind
colors: {
  custom: {
    50: '#958edd',
    500: '#6062cd',
    950: '#000000',
  },
}
SCSS
$custom: #6062cd;
$custom-light: #958edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6062cd",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 238.899,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55015,
    "c": 0.1618,
    "h": 278.9
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#6062CD
secondary
#DAD9AF
accent
#D94CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6062CD

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

Preview Lab → · Contrast checker → · Palette generator →

#6062CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva