#5B94FE#5B94FE

#5B94FE is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.8% C 0.168 H 261.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5B94FE
RGBrgb(91, 148, 254)
HSLhsl(219, 99%, 68%)
HSVhsv(219, 64%, 100%)
CMYKcmyk(64.2%, 41.7%, 0%, 0.4%)
CIE-LABlab(62.13, 13.89, -58.34)
CIE-LCHlch(62.13, 59.97, 283.39°)
OKLaboklab(67.8% -0.0243 -0.1664)
OKLCHoklch(67.8% 0.168 261.7)
XYZxyz(32.7874, 30.5566, 97.9168)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B94FE #FEC55B
analogous
#5BE6FE #5B94FE #735BFE
triadic
#5B94FE #FE5B94 #94FE5B
tetradic
#5B94FE #FE5BE6 #FEC55B #5BFE73
square
#5B94FE #FE5BE6 #FEC55B #5BFE73
split-complementary
#5B94FE #FE735B #E6FE5B
monochromatic
#014EDD #1E6CFE #5B94FE #98BCFE #D5E3FF

Accessibility & contrast

On white

2.95
#5B94FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5B94FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B94FE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B94FE#FFFFFF#000000##000000
##5B94FE1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#498FFC
Tritanopia (blue-blind)
#00ACBD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b94fe;
/* rgb */ color: rgb(91, 148, 254);
/* oklch */ color: oklch(67.8% 0.168 261.7);
Tailwind
colors: {
  custom: {
    50: '#98b2ff',
    500: '#5b94fe',
    950: '#000000',
  },
}
SCSS
$custom: #5b94fe;
$custom-light: #98b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b94fe",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 254
  },
  "hsl": {
    "h": 219.018,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67798,
    "c": 0.16816,
    "h": 261.7
  },
  "luminance": 0.3056
}

Semantic roles & 50–950 ramp

primary
#5B94FE
secondary
#F4E2C1
accent
#9500E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5B94FE

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

Preview Lab → · Contrast checker → · Palette generator →

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