#6A62EC#6A62EC

#6A62EC is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.0% C 0.201 H 280.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6A62EC
RGBrgb(106, 98, 236)
HSLhsl(243, 78%, 65%)
HSVhsv(243, 58%, 93%)
CMYKcmyk(55.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(49.32, 40.71, -68.93)
CIE-LCHlch(49.32, 80.06, 300.57°)
OKLaboklab(57.98% 0.0373 -0.1978)
OKLCHoklch(57.98% 0.201 280.7)
XYZxyz(25.4471, 17.8540, 81.4459)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A62EC #E4EC62
analogous
#629FEC #6A62EC #AF62EC
triadic
#6A62EC #EC6A62 #62EC6A
tetradic
#6A62EC #EC629F #E4EC62 #62ECAF
square
#6A62EC #EC629F #E4EC62 #62ECAF
split-complementary
#6A62EC #ECAF62 #9FEC62
monochromatic
#2017BD #362BE5 #6A62EC #9E99F3 #D2CFF9

Accessibility & contrast

On white

4.59
#6A62EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6A62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A62EC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A62EC#FFFFFF#000000##FFFFFF
##6A62EC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#28839E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a62ec;
/* rgb */ color: rgb(106, 98, 236);
/* oklch */ color: oklch(58.0% 0.201 280.7);
Tailwind
colors: {
  custom: {
    50: '#9f8ff3',
    500: '#6a62ec',
    950: '#000000',
  },
}
SCSS
$custom: #6a62ec;
$custom-light: #9f8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a62ec",
  "rgb": {
    "r": 106,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 243.478,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.20125,
    "h": 280.7
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#6A62EC
secondary
#E9ECBE
accent
#DB0BCF
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A62EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6A62EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva