#5A83FA#5A83FA

#5A83FA is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.1% C 0.183 H 266.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5A83FA
RGBrgb(90, 131, 250)
HSLhsl(225, 94%, 67%)
HSVhsv(225, 64%, 98%)
CMYKcmyk(64%, 47.6%, 0%, 2%)
CIE-LABlab(57.37, 22.59, -63.76)
CIE-LCHlch(57.37, 67.65, 289.50°)
OKLaboklab(64.06% -0.0099 -0.1826)
OKLCHoklch(64.06% 0.183 266.9)
XYZxyz(29.5821, 25.3057, 93.7495)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A83FA #FAD15A
analogous
#5AD3FA #5A83FA #815AFA
triadic
#5A83FA #FA5A83 #83FA5A
tetradic
#5A83FA #FA5AD3 #FAD15A #5AFA81
square
#5A83FA #FA5AD3 #FAD15A #5AFA81
split-complementary
#5A83FA #FA815A #D3FA5A
monochromatic
#063BD3 #1F56F8 #5A83FA #95B0FC #D1DCFE

Accessibility & contrast

On white

3.46
#5A83FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5A83FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A83FA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A83FA#FFFFFF#000000##000000
##5A83FA1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#2183F8
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a83fa;
/* rgb */ color: rgb(90, 131, 250);
/* oklch */ color: oklch(64.1% 0.183 266.9);
Tailwind
colors: {
  custom: {
    50: '#97a6fd',
    500: '#5a83fa',
    950: '#000000',
  },
}
SCSS
$custom: #5a83fa;
$custom-light: #97a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a83fa",
  "rgb": {
    "r": 90,
    "g": 131,
    "b": 250
  },
  "hsl": {
    "h": 224.625,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64059,
    "c": 0.18286,
    "h": 266.9
  },
  "luminance": 0.25308
}

Semantic roles & 50–950 ramp

primary
#5A83FA
secondary
#F2E4BE
accent
#AB00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A83FA

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

Preview Lab → · Contrast checker → · Palette generator →

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