#5B94EF#5B94EF

#5B94EF is a light, vivid blue. Relative luminance 0.296; OKLCH L 66.9% C 0.148 H 259.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5B94EF
RGBrgb(91, 148, 239)
HSLhsl(217, 82%, 65%)
HSVhsv(217, 62%, 94%)
CMYKcmyk(61.9%, 38.1%, 0%, 6.3%)
CIE-LABlab(61.34, 8.89, -51.36)
CIE-LCHlch(61.34, 52.13, 279.82°)
OKLaboklab(66.92% -0.0274 -0.1459)
OKLCHoklch(66.92% 0.148 259.4)
XYZxyz(30.4788, 29.6331, 85.7582)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B94EF #EFB65B
analogous
#5BDEEF #5B94EF #6C5BEF
triadic
#5B94EF #EF5B94 #94EF5B
tetradic
#5B94EF #EF5BDE #EFB65B #5BEF6C
square
#5B94EF #EF5BDE #EFB65B #5BEF6C
split-complementary
#5B94EF #EF6C5B #DEEF5B
monochromatic
#1254BD #2370EA #5B94EF #93B8F4 #CBDDFA

Accessibility & contrast

On white

3.03
#5B94EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5B94EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B94EF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B94EF#FFFFFF#000000##000000
##5B94EF1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5b94ef;
/* rgb */ color: rgb(91, 148, 239);
/* oklch */ color: oklch(66.9% 0.148 259.4);
Tailwind
colors: {
  custom: {
    50: '#96b3f5',
    500: '#5b94ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b94ef;
$custom-light: #96b3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b94ef",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 216.892,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66924,
    "c": 0.14849,
    "h": 259.4
  },
  "luminance": 0.29636
}

Semantic roles & 50–950 ramp

primary
#5B94EF
secondary
#ECD9BA
accent
#8C07DF
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B94EF

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

Preview Lab → · Contrast checker → · Palette generator →

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