#5A93FB#5A93FB

#5A93FB is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.4% C 0.166 H 261.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5A93FB
RGBrgb(90, 147, 251)
HSLhsl(219, 95%, 67%)
HSVhsv(219, 64%, 98%)
CMYKcmyk(64.1%, 41.4%, 0%, 1.6%)
CIE-LABlab(61.66, 13.31, -57.45)
CIE-LCHlch(61.66, 58.98, 283.05°)
OKLaboklab(67.37% -0.0248 -0.1638)
OKLCHoklch(67.37% 0.166 261.4)
XYZxyz(32.0566, 30.0031, 95.3499)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A93FB #FBC25A
analogous
#5AE3FB #5A93FB #725AFB
triadic
#5A93FB #FB5A93 #93FB5A
tetradic
#5A93FB #FB5AE3 #FBC25A #5AFB72
square
#5A93FB #FB5AE3 #FBC25A #5AFB72
split-complementary
#5A93FB #FB725A #E3FB5A
monochromatic
#054FD5 #1E6CFA #5A93FB #96BAFC #D2E1FE

Accessibility & contrast

On white

3.00
#5A93FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5A93FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A93FB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A93FB#FFFFFF#000000##000000
##5A93FB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#4A8EF9
Tritanopia (blue-blind)
#00ABBB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a93fb;
/* rgb */ color: rgb(90, 147, 251);
/* oklch */ color: oklch(67.4% 0.166 261.4);
Tailwind
colors: {
  custom: {
    50: '#97b2fd',
    500: '#5a93fb',
    950: '#000000',
  },
}
SCSS
$custom: #5a93fb;
$custom-light: #97b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a93fb",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 251
  },
  "hsl": {
    "h": 218.758,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67367,
    "c": 0.16569,
    "h": 261.4
  },
  "luminance": 0.30006
}

Semantic roles & 50–950 ramp

primary
#5A93FB
secondary
#F2E0BF
accent
#9400E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5A93FB

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

Preview Lab → · Contrast checker → · Palette generator →

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