#6062EA#6062EA

#6062EA is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.1% C 0.201 H 277.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6062EA
RGBrgb(96, 98, 234)
HSLhsl(239, 77%, 65%)
HSVhsv(239, 59%, 92%)
CMYKcmyk(59%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.46, 38.34, -69.23)
CIE-LCHlch(48.46, 79.14, 298.98°)
OKLaboklab(57.12% 0.0256 -0.1989)
OKLCHoklch(57.12% 0.201 277.3)
XYZxyz(24.0381, 17.1609, 79.8716)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062EA #EAE860
analogous
#60A7EA #6062EA #A360EA
triadic
#6062EA #EA6062 #62EA60
tetradic
#6062EA #EA60A7 #EAE860 #60EAA3
square
#6062EA #EA60A7 #EAE860 #60EAA3
split-complementary
#6062EA #EAA360 #A7EA60
monochromatic
#181BB7 #2A2DE3 #6062EA #9697F1 #CCCDF8

Accessibility & contrast

On white

4.74
#6062EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6062EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062EA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062EA#FFFFFF#000000##FFFFFF
##6062EA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6062ea;
/* rgb */ color: rgb(96, 98, 234);
/* oklch */ color: oklch(57.1% 0.201 277.3);
Tailwind
colors: {
  custom: {
    50: '#998ff2',
    500: '#6062ea',
    950: '#000000',
  },
}
SCSS
$custom: #6062ea;
$custom-light: #998ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6062ea",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 239.13,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.20055,
    "h": 277.3
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#6062EA
secondary
#EBEABB
accent
#D60DD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6062EA

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

Preview Lab → · Contrast checker → · Palette generator →

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