#5B94F2#5B94F2

#5B94F2 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.1% C 0.152 H 259.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5B94F2
RGBrgb(91, 148, 242)
HSLhsl(217, 85%, 65%)
HSVhsv(217, 62%, 95%)
CMYKcmyk(62.4%, 38.8%, 0%, 5.1%)
CIE-LABlab(61.49, 9.88, -52.77)
CIE-LCHlch(61.49, 53.69, 280.61°)
OKLaboklab(67.1% -0.0267 -0.1501)
OKLCHoklch(67.1% 0.152 259.9)
XYZxyz(30.9256, 29.8119, 88.1117)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B94F2 #F2B95B
analogous
#5BE0F2 #5B94F2 #6D5BF2
triadic
#5B94F2 #F25B94 #94F25B
tetradic
#5B94F2 #F25BE0 #F2B95B #5BF26D
square
#5B94F2 #F25BE0 #F2B95B #5BF26D
split-complementary
#5B94F2 #F26D5B #E0F25B
monochromatic
#0F53C3 #226FEE #5B94F2 #94B9F6 #CCDEFB

Accessibility & contrast

On white

3.02
#5B94F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5B94F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B94F2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B94F2#FFFFFF#000000##000000
##5B94F21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#558EF0
Tritanopia (blue-blind)
#00A9B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5b94f2;
/* rgb */ color: rgb(91, 148, 242);
/* oklch */ color: oklch(67.1% 0.152 259.9);
Tailwind
colors: {
  custom: {
    50: '#96b2f7',
    500: '#5b94f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b94f2;
$custom-light: #96b2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b94f2",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 242
  },
  "hsl": {
    "h": 217.351,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67095,
    "c": 0.15243,
    "h": 259.9
  },
  "luminance": 0.29815
}

Semantic roles & 50–950 ramp

primary
#5B94F2
secondary
#EEDBBB
accent
#8E04E2
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B94F2

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

Preview Lab → · Contrast checker → · Palette generator →

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