#5A66F6#5A66F6

#5A66F6 is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.3% C 0.213 H 274.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5A66F6
RGBrgb(90, 102, 246)
HSLhsl(235, 90%, 66%)
HSVhsv(235, 63%, 96%)
CMYKcmyk(63.4%, 58.5%, 0%, 3.5%)
CIE-LABlab(49.89, 38.87, -73.64)
CIE-LCHlch(49.89, 83.27, 297.83°)
OKLaboklab(58.35% 0.0153 -0.212)
OKLCHoklch(58.35% 0.213 274.1)
XYZxyz(25.5969, 18.3280, 89.3597)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66F6 #F6EA5A
analogous
#5AB4F6 #5A66F6 #9C5AF6
triadic
#5A66F6 #F65A66 #66F65A
tetradic
#5A66F6 #F65AB4 #F6EA5A #5AF69C
square
#5A66F6 #F65AB4 #F6EA5A #5AF69C
split-complementary
#5A66F6 #F69C5A #B4F65A
monochromatic
#0B1ACB #2030F3 #5A66F6 #949CF9 #CED2FC

Accessibility & contrast

On white

4.50
#5A66F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5A66F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A66F6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66F6#FFFFFF#000000##000000
##5A66F61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0070F3
Tritanopia (blue-blind)
#0089A4
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a66f6;
/* rgb */ color: rgb(90, 102, 246);
/* oklch */ color: oklch(58.3% 0.213 274.1);
Tailwind
colors: {
  custom: {
    50: '#9891fa',
    500: '#5a66f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a66f6;
$custom-light: #9891fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66f6",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 235.385,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.21255,
    "h": 274.1
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#5A66F6
secondary
#F0ECBC
accent
#D400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5A66F6

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

Preview Lab → · Contrast checker → · Palette generator →

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