#5A66DF#5A66DF

#5A66DF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.182 H 274.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5A66DF
RGBrgb(90, 102, 223)
HSLhsl(235, 68%, 61%)
HSVhsv(235, 60%, 87%)
CMYKcmyk(59.6%, 54.3%, 0%, 12.5%)
CIE-LABlab(48.26, 31.31, -63.37)
CIE-LCHlch(48.26, 70.68, 296.29°)
OKLaboklab(56.62% 0.015 -0.1818)
OKLCHoklch(56.62% 0.182 274.7)
XYZxyz(22.2828, 17.0024, 71.9053)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66DF #DFD35A
analogous
#5AA9DF #5A66DF #915ADF
triadic
#5A66DF #DF5A66 #66DF5A
tetradic
#5A66DF #DF5AA9 #DFD35A #5ADF91
square
#5A66DF #DF5AA9 #DFD35A #5ADF91
split-complementary
#5A66DF #DF915A #A9DF5A
monochromatic
#1F2BA0 #2938D3 #5A66DF #8D96E9 #C1C5F3

Accessibility & contrast

On white

4.77
#5A66DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5A66DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66DF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66DF#FFFFFF#000000##FFFFFF
##5A66DF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E78E3
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a66df;
/* rgb */ color: rgb(90, 102, 223);
/* oklch */ color: oklch(56.6% 0.182 274.7);
Tailwind
colors: {
  custom: {
    50: '#9491ea',
    500: '#5a66df',
    950: '#000000',
  },
}
SCSS
$custom: #5a66df;
$custom-light: #9491ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66df",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 234.586,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.18239,
    "h": 274.7
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#5A66DF
secondary
#E3DFB2
accent
#BF16CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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