#6062E9#6062E9

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

Color values

HEX#6062E9
RGBrgb(96, 98, 233)
HSLhsl(239, 76%, 65%)
HSVhsv(239, 59%, 91%)
CMYKcmyk(58.8%, 57.9%, 0%, 8.6%)
CIE-LABlab(48.39, 38.02, -68.79)
CIE-LCHlch(48.39, 78.60, 298.93°)
OKLaboklab(57.04% 0.0256 -0.1976)
OKLCHoklch(57.04% 0.199 277.4)
XYZxyz(23.8948, 17.1036, 79.1172)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062E9 #E9E760
analogous
#60A7E9 #6062E9 #A360E9
triadic
#6062E9 #E96062 #62E960
tetradic
#6062E9 #E960A7 #E9E760 #60E9A3
square
#6062E9 #E960A7 #E9E760 #60E9A3
split-complementary
#6062E9 #E9A360 #A7E960
monochromatic
#191BB5 #2A2DE2 #6062E9 #9697F0 #CCCCF8

Accessibility & contrast

On white

4.75
#6062E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6062E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062E9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062E9#FFFFFF#000000##FFFFFF
##6062E91.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6062e9;
/* rgb */ color: rgb(96, 98, 233);
/* oklch */ color: oklch(57.0% 0.199 277.4);
Tailwind
colors: {
  custom: {
    50: '#998ff1',
    500: '#6062e9',
    950: '#000000',
  },
}
SCSS
$custom: #6062e9;
$custom-light: #998ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#6062e9",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 239.124,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.19925,
    "h": 277.4
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#6062E9
secondary
#EAE9BB
accent
#D50ED8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6062E9

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

Preview Lab → · Contrast checker → · Palette generator →

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