#5A66EF#5A66EF

#5A66EF is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 57.8% C 0.204 H 274.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5A66EF
RGBrgb(90, 102, 239)
HSLhsl(235, 82%, 65%)
HSVhsv(235, 62%, 94%)
CMYKcmyk(62.3%, 57.3%, 0%, 6.3%)
CIE-LABlab(49.38, 36.57, -70.56)
CIE-LCHlch(49.38, 79.48, 297.40°)
OKLaboklab(57.81% 0.0153 -0.2029)
OKLCHoklch(57.81% 0.204 274.3)
XYZxyz(24.5427, 17.9063, 83.8075)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66EF #EFE35A
analogous
#5AB0EF #5A66EF #995AEF
triadic
#5A66EF #EF5A66 #66EF5A
tetradic
#5A66EF #EF5AB0 #EFE35A #5AEF99
square
#5A66EF #EF5AB0 #EFE35A #5AEF99
split-complementary
#5A66EF #EF995A #B0EF5A
monochromatic
#1220BC #2232EA #5A66EF #929AF4 #CACDFA

Accessibility & contrast

On white

4.58
#5A66EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5A66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A66EF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66EF#FFFFFF#000000##000000
##5A66EF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a66ef;
/* rgb */ color: rgb(90, 102, 239);
/* oklch */ color: oklch(57.8% 0.204 274.3);
Tailwind
colors: {
  custom: {
    50: '#9791f5',
    500: '#5a66ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a66ef;
$custom-light: #9791f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66ef",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 235.168,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.20351,
    "h": 274.3
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#5A66EF
secondary
#ECE8B9
accent
#CD07DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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