#6062DB#6062DB

#6062DB is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.181 H 278.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6062DB
RGBrgb(96, 98, 219)
HSLhsl(239, 63%, 62%)
HSVhsv(239, 56%, 86%)
CMYKcmyk(56.2%, 55.3%, 0%, 14.1%)
CIE-LABlab(47.41, 33.55, -62.46)
CIE-LCHlch(47.41, 70.90, 298.24°)
OKLaboklab(56% 0.0255 -0.179)
OKLCHoklch(56% 0.181 278.1)
XYZxyz(21.9737, 16.3351, 68.9992)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062DB #DBD960
analogous
#60A0DB #6062DB #9B60DB
triadic
#6062DB #DB6062 #62DB60
tetradic
#6062DB #DB60A0 #DBD960 #60DB9B
square
#6062DB #DB60A0 #DBD960 #60DB9B
split-complementary
#6062DB #DB9B60 #A0DB60
monochromatic
#24269D #2F31CF #6062DB #9293E6 #C4C5F2

Accessibility & contrast

On white

4.92
#6062DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6062DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062DB#FFFFFF#000000##FFFFFF
##6062DB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0476DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#1B7E95
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6062db;
/* rgb */ color: rgb(96, 98, 219);
/* oklch */ color: oklch(56.0% 0.181 278.1);
Tailwind
colors: {
  custom: {
    50: '#978ee7',
    500: '#6062db',
    950: '#000000',
  },
}
SCSS
$custom: #6062db;
$custom-light: #978ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6062db",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 239.024,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56004,
    "c": 0.18079,
    "h": 278.1
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#6062DB
secondary
#E2E1B5
accent
#C81BCB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #6062DB

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

Preview Lab → · Contrast checker → · Palette generator →

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