#5B94F3#5B94F3

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

Color values

HEX#5B94F3
RGBrgb(91, 148, 243)
HSLhsl(218, 86%, 65%)
HSVhsv(218, 63%, 95%)
CMYKcmyk(62.6%, 39.1%, 0%, 4.7%)
CIE-LABlab(61.54, 10.22, -53.24)
CIE-LCHlch(61.54, 54.21, 280.86°)
OKLaboklab(67.15% -0.0265 -0.1514)
OKLCHoklch(67.15% 0.154 260.1)
XYZxyz(31.0762, 29.8721, 88.9048)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B94F3 #F3BA5B
analogous
#5BE0F3 #5B94F3 #6E5BF3
triadic
#5B94F3 #F35B94 #94F35B
tetradic
#5B94F3 #F35BE0 #F3BA5B #5BF36E
square
#5B94F3 #F35BE0 #F3BA5B #5BF36E
split-complementary
#5B94F3 #F36E5B #E0F35B
monochromatic
#0E53C5 #226FEF #5B94F3 #94B9F7 #CDDEFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B94F3#FFFFFF#000000##000000
##5B94F31.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)
#6A9CF7
Deuteranopia (green-blind)
#548EF1
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b94f3;
/* rgb */ color: rgb(91, 148, 243);
/* oklch */ color: oklch(67.2% 0.154 260.1);
Tailwind
colors: {
  custom: {
    50: '#96b2f7',
    500: '#5b94f3',
    950: '#000000',
  },
}
SCSS
$custom: #5b94f3;
$custom-light: #96b2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b94f3",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 243
  },
  "hsl": {
    "h": 217.5,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67152,
    "c": 0.15374,
    "h": 260.1
  },
  "luminance": 0.29875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B94F3

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

Preview Lab → · Contrast checker → · Palette generator →

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