#6062DD#6062DD

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

Color values

HEX#6062DD
RGBrgb(96, 98, 221)
HSLhsl(239, 65%, 62%)
HSVhsv(239, 57%, 87%)
CMYKcmyk(56.6%, 55.7%, 0%, 13.3%)
CIE-LABlab(47.55, 34.19, -63.37)
CIE-LCHlch(47.55, 72.01, 298.35°)
OKLaboklab(56.15% 0.0256 -0.1817)
OKLCHoklch(56.15% 0.183 278)
XYZxyz(22.2385, 16.4411, 70.3942)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062DD #DDDB60
analogous
#60A1DD #6062DD #9D60DD
triadic
#6062DD #DD6062 #62DD60
tetradic
#6062DD #DD60A1 #DDDB60 #60DD9D
square
#6062DD #DD60A1 #DDDB60 #60DD9D
split-complementary
#6062DD #DD9D60 #A1DD60
monochromatic
#2224A0 #2E30D2 #6062DD #9294E8 #C5C6F3

Accessibility & contrast

On white

4.90
#6062DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6062DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062DD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062DD#FFFFFF#000000##FFFFFF
##6062DD1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#167F96
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6062dd;
/* rgb */ color: rgb(96, 98, 221);
/* oklch */ color: oklch(56.1% 0.183 278.0);
Tailwind
colors: {
  custom: {
    50: '#978ee8',
    500: '#6062dd',
    950: '#000000',
  },
}
SCSS
$custom: #6062dd;
$custom-light: #978ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6062dd",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 239.04,
    "s": 64.767,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.18346,
    "h": 278
  },
  "luminance": 0.16443
}

Semantic roles & 50–950 ramp

primary
#6062DD
secondary
#E3E3B5
accent
#CA19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6062DD

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

Preview Lab → · Contrast checker → · Palette generator →

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