#5B94EC#5B94EC

#5B94EC is a light, vivid blue. Relative luminance 0.295; OKLCH L 66.8% C 0.145 H 258.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5B94EC
RGBrgb(91, 148, 236)
HSLhsl(216, 79%, 64%)
HSVhsv(216, 61%, 93%)
CMYKcmyk(61.4%, 37.3%, 0%, 7.5%)
CIE-LABlab(61.18, 7.90, -49.95)
CIE-LCHlch(61.18, 50.57, 278.98°)
OKLaboklab(66.76% -0.0281 -0.1418)
OKLCHoklch(66.76% 0.145 258.8)
XYZxyz(30.0393, 29.4573, 83.4434)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B94EC #ECB35B
analogous
#5BDCEC #5B94EC #6B5BEC
triadic
#5B94EC #EC5B94 #94EC5B
tetradic
#5B94EC #EC5BDC #ECB35B #5BEC6B
square
#5B94EC #EC5BDC #ECB35B #5BEC6B
split-complementary
#5B94EC #EC6B5B #DCEC5B
monochromatic
#1555B7 #2470E6 #5B94EC #92B8F2 #C9DCF9

Accessibility & contrast

On white

3.05
#5B94EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5B94EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B94EC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B94EC#FFFFFF#000000##000000
##5B94EC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#5A8DEA
Tritanopia (blue-blind)
#00A8B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5b94ec;
/* rgb */ color: rgb(91, 148, 236);
/* oklch */ color: oklch(66.8% 0.145 258.8);
Tailwind
colors: {
  custom: {
    50: '#95b3f2',
    500: '#5b94ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b94ec;
$custom-light: #95b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b94ec",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 236
  },
  "hsl": {
    "h": 216.414,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66755,
    "c": 0.14456,
    "h": 258.8
  },
  "luminance": 0.2946
}

Semantic roles & 50–950 ramp

primary
#5B94EC
secondary
#EBD7B8
accent
#890ADC
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B94EC

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

Preview Lab → · Contrast checker → · Palette generator →

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