#5A7BF3#5A7BF3

#5A7BF3 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.183 H 269.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5A7BF3
RGBrgb(90, 123, 243)
HSLhsl(227, 86%, 65%)
HSVhsv(227, 63%, 95%)
CMYKcmyk(63%, 49.4%, 0%, 4.7%)
CIE-LABlab(54.87, 25.09, -63.91)
CIE-LCHlch(54.87, 68.66, 291.44°)
OKLaboklab(62.02% -0.0033 -0.1831)
OKLCHoklch(62.02% 0.183 269)
XYZxyz(27.4716, 22.8082, 87.7313)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7BF3 #F3D25A
analogous
#5AC7F3 #5A7BF3 #855AF3
triadic
#5A7BF3 #F35A7B #7BF35A
tetradic
#5A7BF3 #F35AC7 #F3D25A #5AF385
square
#5A7BF3 #F35AC7 #F3D25A #5AF385
split-complementary
#5A7BF3 #F3855A #C7F35A
monochromatic
#0E36C4 #214DEF #5A7BF3 #93A9F7 #CCD6FB

Accessibility & contrast

On white

3.78
#5A7BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5A7BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7BF3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7BF3#FFFFFF#000000##000000
##5A7BF31.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF7
Deuteranopia (green-blind)
#0C7DF1
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a7bf3;
/* rgb */ color: rgb(90, 123, 243);
/* oklch */ color: oklch(62.0% 0.183 269.0);
Tailwind
colors: {
  custom: {
    50: '#97a0f8',
    500: '#5a7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #5a7bf3;
$custom-light: #97a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7bf3",
  "rgb": {
    "r": 90,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 227.059,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62022,
    "c": 0.18315,
    "h": 269
  },
  "luminance": 0.22811
}

Semantic roles & 50–950 ramp

primary
#5A7BF3
secondary
#EEE3BB
accent
#B303E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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