#6062E8#6062E8

#6062E8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 57.0% C 0.198 H 277.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6062E8
RGBrgb(96, 98, 232)
HSLhsl(239, 75%, 64%)
HSVhsv(239, 59%, 91%)
CMYKcmyk(58.6%, 57.8%, 0%, 9%)
CIE-LABlab(48.32, 37.70, -68.34)
CIE-LCHlch(48.32, 78.05, 298.89°)
OKLaboklab(56.97% 0.0256 -0.1963)
OKLCHoklch(56.97% 0.198 277.4)
XYZxyz(23.7524, 17.0466, 78.3670)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062E8 #E8E660
analogous
#60A6E8 #6062E8 #A260E8
triadic
#6062E8 #E86062 #62E860
tetradic
#6062E8 #E860A6 #E8E660 #60E8A2
square
#6062E8 #E860A6 #E8E660 #60E8A2
split-complementary
#6062E8 #E8A260 #A6E860
monochromatic
#1A1CB4 #2B2DE0 #6062E8 #9597F0 #CBCCF7

Accessibility & contrast

On white

4.76
#6062E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6062E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062E8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062E8#FFFFFF#000000##FFFFFF
##6062E81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6062e8;
/* rgb */ color: rgb(96, 98, 232);
/* oklch */ color: oklch(57.0% 0.198 277.4);
Tailwind
colors: {
  custom: {
    50: '#998ff0',
    500: '#6062e8',
    950: '#000000',
  },
}
SCSS
$custom: #6062e8;
$custom-light: #998ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#6062e8",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 239.118,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.19794,
    "h": 277.4
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#6062E8
secondary
#E9E9BA
accent
#D40FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6062E8

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

Preview Lab → · Contrast checker → · Palette generator →

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