#5A7DEE#5A7DEE

#5A7DEE is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.1% C 0.174 H 268.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5A7DEE
RGBrgb(90, 125, 238)
HSLhsl(226, 81%, 64%)
HSVhsv(226, 62%, 93%)
CMYKcmyk(62.2%, 47.5%, 0%, 6.7%)
CIE-LABlab(55.08, 22.19, -60.79)
CIE-LCHlch(55.08, 64.72, 290.06°)
OKLaboklab(62.08% -0.0058 -0.1739)
OKLCHoklch(62.08% 0.174 268.1)
XYZxyz(26.9774, 23.0116, 83.8923)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7DEE #EECB5A
analogous
#5AC7EE #5A7DEE #815AEE
triadic
#5A7DEE #EE5A7D #7DEE5A
tetradic
#5A7DEE #EE5AC7 #EECB5A #5AEE81
square
#5A7DEE #EE5AC7 #EECB5A #5AEE81
split-complementary
#5A7DEE #EE815A #C7EE5A
monochromatic
#133BBA #2351E8 #5A7DEE #91A9F4 #C9D4F9

Accessibility & contrast

On white

3.75
#5A7DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5A7DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7DEE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7DEE#FFFFFF#000000##000000
##5A7DEE1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF2
Deuteranopia (green-blind)
#267EEC
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a7dee;
/* rgb */ color: rgb(90, 125, 238);
/* oklch */ color: oklch(62.1% 0.174 268.1);
Tailwind
colors: {
  custom: {
    50: '#96a2f4',
    500: '#5a7dee',
    950: '#000000',
  },
}
SCSS
$custom: #5a7dee;
$custom-light: #96a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7dee",
  "rgb": {
    "r": 90,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 225.811,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62083,
    "c": 0.17403,
    "h": 268.1
  },
  "luminance": 0.23014
}

Semantic roles & 50–950 ramp

primary
#5A7DEE
secondary
#ECDFB8
accent
#AB08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5A7DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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