#5A7CF3#5A7CF3

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

Color values

HEX#5A7CF3
RGBrgb(90, 124, 243)
HSLhsl(227, 86%, 65%)
HSVhsv(227, 63%, 95%)
CMYKcmyk(63%, 49%, 0%, 4.7%)
CIE-LABlab(55.13, 24.48, -63.50)
CIE-LCHlch(55.13, 68.05, 291.09°)
OKLaboklab(62.22% -0.0042 -0.1819)
OKLCHoklch(62.22% 0.182 268.7)
XYZxyz(27.5963, 23.0576, 87.7729)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7CF3 #F3D15A
analogous
#5AC8F3 #5A7CF3 #855AF3
triadic
#5A7CF3 #F35A7C #7CF35A
tetradic
#5A7CF3 #F35AC8 #F3D15A #5AF385
square
#5A7CF3 #F35AC8 #F3D15A #5AF385
split-complementary
#5A7CF3 #F3855A #C8F35A
monochromatic
#0E37C4 #214FEF #5A7CF3 #93A9F7 #CCD7FB

Accessibility & contrast

On white

3.74
#5A7CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5A7CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7CF3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7CF3#FFFFFF#000000##000000
##5A7CF31.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF7
Deuteranopia (green-blind)
#137DF1
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a7cf3;
/* rgb */ color: rgb(90, 124, 243);
/* oklch */ color: oklch(62.2% 0.182 268.7);
Tailwind
colors: {
  custom: {
    50: '#96a1f8',
    500: '#5a7cf3',
    950: '#000000',
  },
}
SCSS
$custom: #5a7cf3;
$custom-light: #96a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7cf3",
  "rgb": {
    "r": 90,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 226.667,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62217,
    "c": 0.18194,
    "h": 268.7
  },
  "luminance": 0.2306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A7CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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