#5A83F2#5A83F2

#5A83F2 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.5% C 0.172 H 266.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5A83F2
RGBrgb(90, 131, 242)
HSLhsl(224, 85%, 65%)
HSVhsv(224, 63%, 95%)
CMYKcmyk(62.8%, 45.9%, 0%, 5.1%)
CIE-LABlab(56.89, 19.89, -60.11)
CIE-LCHlch(56.89, 63.31, 288.31°)
OKLaboklab(63.54% -0.011 -0.1718)
OKLCHoklch(63.54% 0.172 266.3)
XYZxyz(28.3542, 24.8145, 87.2826)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A83F2 #F2C95A
analogous
#5ACFF2 #5A83F2 #7D5AF2
triadic
#5A83F2 #F25A83 #83F25A
tetradic
#5A83F2 #F25ACF #F2C95A #5AF27D
square
#5A83F2 #F25ACF #F2C95A #5AF27D
split-complementary
#5A83F2 #F27D5A #CFF25A
monochromatic
#0F40C2 #2158EE #5A83F2 #93AEF6 #CBD8FB

Accessibility & contrast

On white

3.52
#5A83F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5A83F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A83F2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A83F2#FFFFFF#000000##000000
##5A83F21.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#3182F0
Tritanopia (blue-blind)
#009CAF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a83f2;
/* rgb */ color: rgb(90, 131, 242);
/* oklch */ color: oklch(63.5% 0.172 266.3);
Tailwind
colors: {
  custom: {
    50: '#96a6f7',
    500: '#5a83f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a83f2;
$custom-light: #96a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a83f2",
  "rgb": {
    "r": 90,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 223.816,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63541,
    "c": 0.17219,
    "h": 266.3
  },
  "luminance": 0.24817
}

Semantic roles & 50–950 ramp

primary
#5A83F2
secondary
#EEE0BA
accent
#A604E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A83F2

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

Preview Lab → · Contrast checker → · Palette generator →

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