#5A66E7#5A66E7

#5A66E7 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.2% C 0.193 H 274.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5A66E7
RGBrgb(90, 102, 231)
HSLhsl(235, 75%, 63%)
HSVhsv(235, 61%, 91%)
CMYKcmyk(61%, 55.8%, 0%, 9.4%)
CIE-LABlab(48.81, 33.94, -66.99)
CIE-LCHlch(48.81, 75.10, 296.87°)
OKLaboklab(57.21% 0.0152 -0.1924)
OKLCHoklch(57.21% 0.193 274.5)
XYZxyz(23.3869, 17.4440, 77.7204)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66E7 #E7DB5A
analogous
#5AACE7 #5A66E7 #955AE7
triadic
#5A66E7 #E75A66 #66E75A
tetradic
#5A66E7 #E75AAC #E7DB5A #5AE795
square
#5A66E7 #E75AAC #E7DB5A #5AE795
split-complementary
#5A66E7 #E7955A #ACE75A
monochromatic
#1926AD #2534DF #5A66E7 #8F98EF #C5C9F7

Accessibility & contrast

On white

4.68
#5A66E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5A66E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66E7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66E7#FFFFFF#000000##FFFFFF
##5A66E71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a66e7;
/* rgb */ color: rgb(90, 102, 231);
/* oklch */ color: oklch(57.2% 0.193 274.5);
Tailwind
colors: {
  custom: {
    50: '#9691ef',
    500: '#5a66e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a66e7;
$custom-light: #9691ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66e7",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 234.894,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.19303,
    "h": 274.5
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#5A66E7
secondary
#E8E3B5
accent
#C60FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A66E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5A66E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva