#5A7EF0#5A7EF0

#5A7EF0 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.4% C 0.175 H 267.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5A7EF0
RGBrgb(90, 126, 240)
HSLhsl(226, 83%, 65%)
HSVhsv(226, 63%, 94%)
CMYKcmyk(62.5%, 47.5%, 0%, 5.9%)
CIE-LABlab(55.47, 22.26, -61.29)
CIE-LCHlch(55.47, 65.21, 289.96°)
OKLaboklab(62.41% -0.0065 -0.1754)
OKLCHoklch(62.41% 0.176 267.9)
XYZxyz(27.4001, 23.3842, 85.4908)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7EF0 #F0CC5A
analogous
#5AC9F0 #5A7EF0 #815AF0
triadic
#5A7EF0 #F05A7E #7EF05A
tetradic
#5A7EF0 #F05AC9 #F0CC5A #5AF081
square
#5A7EF0 #F05AC9 #F0CC5A #5AF081
split-complementary
#5A7EF0 #F0815A #C9F05A
monochromatic
#113BBE #2252EB #5A7EF0 #92AAF5 #CAD6FA

Accessibility & contrast

On white

3.70
#5A7EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5A7EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7EF0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7EF0#FFFFFF#000000##000000
##5A7EF01.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF4
Deuteranopia (green-blind)
#257EEE
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a7ef0;
/* rgb */ color: rgb(90, 126, 240);
/* oklch */ color: oklch(62.4% 0.175 267.9);
Tailwind
colors: {
  custom: {
    50: '#96a2f6',
    500: '#5a7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ef0;
$custom-light: #96a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ef0",
  "rgb": {
    "r": 90,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 225.6,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62412,
    "c": 0.1755,
    "h": 267.9
  },
  "luminance": 0.23387
}

Semantic roles & 50–950 ramp

primary
#5A7EF0
secondary
#EDE0B9
accent
#AB06E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5A7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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