#5A66E5#5A66E5

#5A66E5 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.190 H 274.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5A66E5
RGBrgb(90, 102, 229)
HSLhsl(235, 73%, 63%)
HSVhsv(235, 61%, 90%)
CMYKcmyk(60.7%, 55.5%, 0%, 10.2%)
CIE-LABlab(48.68, 33.28, -66.09)
CIE-LCHlch(48.68, 74.00, 296.73°)
OKLaboklab(57.06% 0.0152 -0.1898)
OKLCHoklch(57.06% 0.19 274.6)
XYZxyz(23.1060, 17.3317, 76.2413)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66E5 #E5D95A
analogous
#5AACE5 #5A66E5 #935AE5
triadic
#5A66E5 #E55A66 #66E55A
tetradic
#5A66E5 #E55AAC #E5D95A #5AE593
square
#5A66E5 #E55AAC #E5D95A #5AE593
split-complementary
#5A66E5 #E5935A #ACE55A
monochromatic
#1B27AA #2535DD #5A66E5 #8F97ED #C4C8F6

Accessibility & contrast

On white

4.70
#5A66E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5A66E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66E5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66E5#FFFFFF#000000##FFFFFF
##5A66E51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a66e5;
/* rgb */ color: rgb(90, 102, 229);
/* oklch */ color: oklch(57.1% 0.190 274.6);
Tailwind
colors: {
  custom: {
    50: '#9591ee',
    500: '#5a66e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a66e5;
$custom-light: #9591ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66e5",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 234.82,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.19039,
    "h": 274.6
  },
  "luminance": 0.17334
}

Semantic roles & 50–950 ramp

primary
#5A66E5
secondary
#E7E2B4
accent
#C411D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A66E5

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

Preview Lab → · Contrast checker → · Palette generator →

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