#5A7CF4#5A7CF4

#5A7CF4 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.3% C 0.183 H 268.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5A7CF4
RGBrgb(90, 124, 244)
HSLhsl(227, 88%, 65%)
HSVhsv(227, 63%, 96%)
CMYKcmyk(63.1%, 49.2%, 0%, 4.3%)
CIE-LABlab(55.19, 24.82, -63.95)
CIE-LCHlch(55.19, 68.60, 291.21°)
OKLaboklab(62.28% -0.0041 -0.1832)
OKLCHoklch(62.28% 0.183 268.7)
XYZxyz(27.7477, 23.1181, 88.5704)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7CF4 #F4D25A
analogous
#5AC9F4 #5A7CF4 #855AF4
triadic
#5A7CF4 #F45A7C #7CF45A
tetradic
#5A7CF4 #F45AC9 #F4D25A #5AF485
square
#5A7CF4 #F45AC9 #F4D25A #5AF485
split-complementary
#5A7CF4 #F4855A #C9F45A
monochromatic
#0D36C6 #214EF0 #5A7CF4 #93AAF8 #CDD7FC

Accessibility & contrast

On white

3.73
#5A7CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5A7CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7CF4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7CF4#FFFFFF#000000##000000
##5A7CF41.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8BF8
Deuteranopia (green-blind)
#0F7EF2
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a7cf4;
/* rgb */ color: rgb(90, 124, 244);
/* oklch */ color: oklch(62.3% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#97a1f8',
    500: '#5a7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #5a7cf4;
$custom-light: #97a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7cf4",
  "rgb": {
    "r": 90,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 226.753,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62284,
    "c": 0.18328,
    "h": 268.7
  },
  "luminance": 0.23121
}

Semantic roles & 50–950 ramp

primary
#5A7CF4
secondary
#EFE3BB
accent
#B201E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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