#6062E7#6062E7

#6062E7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.9% C 0.197 H 277.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6062E7
RGBrgb(96, 98, 231)
HSLhsl(239, 74%, 64%)
HSVhsv(239, 58%, 91%)
CMYKcmyk(58.4%, 57.6%, 0%, 9.4%)
CIE-LABlab(48.25, 37.38, -67.89)
CIE-LCHlch(48.25, 77.50, 298.84°)
OKLaboklab(56.89% 0.0256 -0.195)
OKLCHoklch(56.89% 0.197 277.5)
XYZxyz(23.6107, 16.9900, 77.6210)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062E7 #E7E560
analogous
#60A6E7 #6062E7 #A260E7
triadic
#6062E7 #E76062 #62E760
tetradic
#6062E7 #E760A6 #E7E560 #60E7A2
square
#6062E7 #E760A6 #E7E560 #60E7A2
split-complementary
#6062E7 #E7A260 #A6E760
monochromatic
#1B1DB2 #2B2DDF #6062E7 #9597EF #CACBF7

Accessibility & contrast

On white

4.77
#6062E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6062E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062E7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062E7#FFFFFF#000000##FFFFFF
##6062E71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6062e7;
/* rgb */ color: rgb(96, 98, 231);
/* oklch */ color: oklch(56.9% 0.197 277.5);
Tailwind
colors: {
  custom: {
    50: '#998fef',
    500: '#6062e7',
    950: '#000000',
  },
}
SCSS
$custom: #6062e7;
$custom-light: #998fef;
$custom-dark: #000000;
JSON
{
  "hex": "#6062e7",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 239.111,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5689,
    "c": 0.19665,
    "h": 277.5
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#6062E7
secondary
#E9E8BA
accent
#D310D6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6062E7

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

Preview Lab → · Contrast checker → · Palette generator →

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