#5A85EA#5A85EA

#5A85EA is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.4% C 0.159 H 264.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5A85EA
RGBrgb(90, 133, 234)
HSLhsl(222, 77%, 64%)
HSVhsv(222, 62%, 92%)
CMYKcmyk(61.5%, 43.2%, 0%, 8.2%)
CIE-LABlab(56.97, 16.00, -55.55)
CIE-LCHlch(56.97, 57.81, 286.06°)
OKLaboklab(63.45% -0.0142 -0.1584)
OKLCHoklch(63.45% 0.159 264.9)
XYZxyz(27.4501, 24.8868, 81.1830)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85EA #EABF5A
analogous
#5ACDEA #5A85EA #775AEA
triadic
#5A85EA #EA5A85 #85EA5A
tetradic
#5A85EA #EA5ACD #EABF5A #5AEA77
square
#5A85EA #EA5ACD #EABF5A #5AEA77
split-complementary
#5A85EA #EA775A #CDEA5A
monochromatic
#1745B3 #245DE3 #5A85EA #90ADF1 #C7D5F8

Accessibility & contrast

On white

3.51
#5A85EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5A85EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85EA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85EA#FFFFFF#000000##000000
##5A85EA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#4083E8
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a85ea;
/* rgb */ color: rgb(90, 133, 234);
/* oklch */ color: oklch(63.4% 0.159 264.9);
Tailwind
colors: {
  custom: {
    50: '#95a8f1',
    500: '#5a85ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a85ea;
$custom-light: #95a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85ea",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 222.083,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63447,
    "c": 0.15907,
    "h": 264.9
  },
  "luminance": 0.24889
}

Semantic roles & 50–950 ramp

primary
#5A85EA
secondary
#E9DAB6
accent
#9C0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A85EA

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

Preview Lab → · Contrast checker → · Palette generator →

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