#5A7FF0#5A7FF0

#5A7FF0 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.6% C 0.174 H 267.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5A7FF0
RGBrgb(90, 127, 240)
HSLhsl(225, 83%, 65%)
HSVhsv(225, 63%, 94%)
CMYKcmyk(62.5%, 47.1%, 0%, 5.9%)
CIE-LABlab(55.73, 21.65, -60.87)
CIE-LCHlch(55.73, 64.61, 289.58°)
OKLaboklab(62.61% -0.0074 -0.1741)
OKLCHoklch(62.61% 0.174 267.6)
XYZxyz(27.5286, 23.6412, 85.5337)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7FF0 #F0CB5A
analogous
#5ACAF0 #5A7FF0 #805AF0
triadic
#5A7FF0 #F05A7F #7FF05A
tetradic
#5A7FF0 #F05ACA #F0CB5A #5AF080
square
#5A7FF0 #F05ACA #F0CB5A #5AF080
split-complementary
#5A7FF0 #F0805A #CAF05A
monochromatic
#113CBE #2253EB #5A7FF0 #92ABF5 #CAD6FA

Accessibility & contrast

On white

3.67
#5A7FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5A7FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7FF0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7FF0#FFFFFF#000000##000000
##5A7FF01.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468DF4
Deuteranopia (green-blind)
#287FEE
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a7ff0;
/* rgb */ color: rgb(90, 127, 240);
/* oklch */ color: oklch(62.6% 0.174 267.6);
Tailwind
colors: {
  custom: {
    50: '#96a3f6',
    500: '#5a7ff0',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ff0;
$custom-light: #96a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ff0",
  "rgb": {
    "r": 90,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 225.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62611,
    "c": 0.1743,
    "h": 267.6
  },
  "luminance": 0.23644
}

Semantic roles & 50–950 ramp

primary
#5A7FF0
secondary
#EDE0B9
accent
#AA06E0
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A7FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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