#5A66F0#5A66F0

#5A66F0 is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 57.9% C 0.205 H 274.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5A66F0
RGBrgb(90, 102, 240)
HSLhsl(235, 83%, 65%)
HSVhsv(235, 63%, 94%)
CMYKcmyk(62.5%, 57.5%, 0%, 5.9%)
CIE-LABlab(49.45, 36.90, -71.00)
CIE-LCHlch(49.45, 80.02, 297.46°)
OKLaboklab(57.89% 0.0153 -0.2042)
OKLCHoklch(57.89% 0.205 274.3)
XYZxyz(24.6908, 17.9656, 84.5877)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66F0 #F0E45A
analogous
#5AB1F0 #5A66F0 #995AF0
triadic
#5A66F0 #F05A66 #66F05A
tetradic
#5A66F0 #F05AB1 #F0E45A #5AF099
square
#5A66F0 #F05AB1 #F0E45A #5AF099
split-complementary
#5A66F0 #F0995A #B1F05A
monochromatic
#111FBE #2232EB #5A66F0 #929AF5 #CACEFA

Accessibility & contrast

On white

4.57
#5A66F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5A66F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A66F0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66F0#FFFFFF#000000##000000
##5A66F01.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#006FED
Tritanopia (blue-blind)
#0088A1
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a66f0;
/* rgb */ color: rgb(90, 102, 240);
/* oklch */ color: oklch(57.9% 0.205 274.3);
Tailwind
colors: {
  custom: {
    50: '#9791f6',
    500: '#5a66f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a66f0;
$custom-light: #9791f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66f0",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 235.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57888,
    "c": 0.20482,
    "h": 274.3
  },
  "luminance": 0.17968
}

Semantic roles & 50–950 ramp

primary
#5A66F0
secondary
#EDE9B9
accent
#CE06E0
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A66F0

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

Preview Lab → · Contrast checker → · Palette generator →

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