#5A93F9#5A93F9

#5A93F9 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.2% C 0.163 H 261.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5A93F9
RGBrgb(90, 147, 249)
HSLhsl(218, 93%, 66%)
HSVhsv(218, 64%, 98%)
CMYKcmyk(63.9%, 41%, 0%, 2.4%)
CIE-LABlab(61.55, 12.64, -56.53)
CIE-LCHlch(61.55, 57.93, 282.61°)
OKLaboklab(67.25% -0.0251 -0.1611)
OKLCHoklch(67.25% 0.163 261.1)
XYZxyz(31.7430, 29.8776, 93.6983)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A93F9 #F9C05A
analogous
#5AE2F9 #5A93F9 #715AF9
triadic
#5A93F9 #F95A93 #93F95A
tetradic
#5A93F9 #F95AE2 #F9C05A #5AF971
square
#5A93F9 #F95AE2 #F9C05A #5AF971
split-complementary
#5A93F9 #F9715A #E2F95A
monochromatic
#0850D1 #1F6CF7 #5A93F9 #95BAFB #D0E0FD

Accessibility & contrast

On white

3.01
#5A93F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5A93F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A93F9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A93F9#FFFFFF#000000##000000
##5A93F91.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFD
Deuteranopia (green-blind)
#4C8EF7
Tritanopia (blue-blind)
#00AABA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a93f9;
/* rgb */ color: rgb(90, 147, 249);
/* oklch */ color: oklch(67.2% 0.163 261.1);
Tailwind
colors: {
  custom: {
    50: '#97b2fc',
    500: '#5a93f9',
    950: '#000000',
  },
}
SCSS
$custom: #5a93f9;
$custom-light: #97b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a93f9",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 249
  },
  "hsl": {
    "h": 218.491,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67248,
    "c": 0.16306,
    "h": 261.1
  },
  "luminance": 0.29881
}

Semantic roles & 50–950 ramp

primary
#5A93F9
secondary
#F1DFBE
accent
#9300E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5A93F9

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

Preview Lab → · Contrast checker → · Palette generator →

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