#6062EC#6062EC

#6062EC is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.3% C 0.203 H 277.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6062EC
RGBrgb(96, 98, 236)
HSLhsl(239, 79%, 65%)
HSVhsv(239, 59%, 93%)
CMYKcmyk(59.3%, 58.5%, 0%, 7.5%)
CIE-LABlab(48.61, 38.98, -70.12)
CIE-LCHlch(48.61, 80.23, 299.07°)
OKLaboklab(57.27% 0.0256 -0.2015)
OKLCHoklch(57.27% 0.203 277.2)
XYZxyz(24.3270, 17.2765, 81.3934)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062EC #ECEA60
analogous
#60A8EC #6062EC #A460EC
triadic
#6062EC #EC6062 #62EC60
tetradic
#6062EC #EC60A8 #ECEA60 #60ECA4
square
#6062EC #EC60A8 #ECEA60 #60ECA4
split-complementary
#6062EC #ECA460 #A8EC60
monochromatic
#1619BB #292CE5 #6062EC #9798F3 #CDCEF9

Accessibility & contrast

On white

4.71
#6062EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6062EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062EC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062EC#FFFFFF#000000##FFFFFF
##6062EC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6062ec;
/* rgb */ color: rgb(96, 98, 236);
/* oklch */ color: oklch(57.3% 0.203 277.2);
Tailwind
colors: {
  custom: {
    50: '#9a8ff3',
    500: '#6062ec',
    950: '#000000',
  },
}
SCSS
$custom: #6062ec;
$custom-light: #9a8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#6062ec",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 239.143,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.20313,
    "h": 277.2
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#6062EC
secondary
#ECEBBC
accent
#D80BDB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6062EC

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

Preview Lab → · Contrast checker → · Palette generator →

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