#5A7BF4#5A7BF4

#5A7BF4 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.1% C 0.184 H 269.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5A7BF4
RGBrgb(90, 123, 244)
HSLhsl(227, 88%, 65%)
HSVhsv(227, 63%, 96%)
CMYKcmyk(63.1%, 49.6%, 0%, 4.3%)
CIE-LABlab(54.94, 25.43, -64.36)
CIE-LCHlch(54.94, 69.21, 291.56°)
OKLaboklab(62.09% -0.0032 -0.1845)
OKLCHoklch(62.09% 0.184 269)
XYZxyz(27.6230, 22.8688, 88.5288)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7BF4 #F4D35A
analogous
#5AC8F4 #5A7BF4 #865AF4
triadic
#5A7BF4 #F45A7B #7BF45A
tetradic
#5A7BF4 #F45AC8 #F4D35A #5AF486
square
#5A7BF4 #F45AC8 #F4D35A #5AF486
split-complementary
#5A7BF4 #F4865A #C8F45A
monochromatic
#0D35C6 #214DF0 #5A7BF4 #93A9F8 #CDD7FC

Accessibility & contrast

On white

3.77
#5A7BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5A7BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7BF4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7BF4#FFFFFF#000000##000000
##5A7BF41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BF8
Deuteranopia (green-blind)
#067DF2
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a7bf4;
/* rgb */ color: rgb(90, 123, 244);
/* oklch */ color: oklch(62.1% 0.184 269.0);
Tailwind
colors: {
  custom: {
    50: '#97a0f8',
    500: '#5a7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #5a7bf4;
$custom-light: #97a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7bf4",
  "rgb": {
    "r": 90,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 227.143,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62089,
    "c": 0.18449,
    "h": 269
  },
  "luminance": 0.22871
}

Semantic roles & 50–950 ramp

primary
#5A7BF4
secondary
#EFE4BB
accent
#B401E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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