#6062DC#6062DC

#6062DC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.182 H 278.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6062DC
RGBrgb(96, 98, 220)
HSLhsl(239, 64%, 62%)
HSVhsv(239, 56%, 86%)
CMYKcmyk(56.4%, 55.5%, 0%, 13.7%)
CIE-LABlab(47.48, 33.87, -62.92)
CIE-LCHlch(47.48, 71.45, 298.29°)
OKLaboklab(56.08% 0.0255 -0.1803)
OKLCHoklch(56.08% 0.182 278.1)
XYZxyz(22.1057, 16.3879, 69.6946)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062DC #DCDA60
analogous
#60A0DC #6062DC #9C60DC
triadic
#6062DC #DC6062 #62DC60
tetradic
#6062DC #DC60A0 #DCDA60 #60DC9C
square
#6062DC #DC60A0 #DCDA60 #60DC9C
split-complementary
#6062DC #DC9C60 #A0DC60
monochromatic
#23259F #2E31D1 #6062DC #9294E7 #C4C5F2

Accessibility & contrast

On white

4.91
#6062DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6062DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062DC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062DC#FFFFFF#000000##FFFFFF
##6062DC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#197E95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6062dc;
/* rgb */ color: rgb(96, 98, 220);
/* oklch */ color: oklch(56.1% 0.182 278.1);
Tailwind
colors: {
  custom: {
    50: '#978ee8',
    500: '#6062dc',
    950: '#000000',
  },
}
SCSS
$custom: #6062dc;
$custom-light: #978ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6062dc",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 239.032,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.18213,
    "h": 278.1
  },
  "luminance": 0.16389
}

Semantic roles & 50–950 ramp

primary
#6062DC
secondary
#E3E2B5
accent
#C91ACC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6062DC

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

Preview Lab → · Contrast checker → · Palette generator →

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