#5B84DF#5B84DF

#5B84DF is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.6% C 0.145 H 264.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5B84DF
RGBrgb(91, 132, 223)
HSLhsl(221, 67%, 62%)
HSVhsv(221, 59%, 87%)
CMYKcmyk(59.2%, 40.8%, 0%, 12.5%)
CIE-LABlab(56.14, 13.13, -50.73)
CIE-LCHlch(56.14, 52.40, 284.51°)
OKLaboklab(62.63% -0.0143 -0.1443)
OKLCHoklch(62.63% 0.145 264.3)
XYZxyz(25.8804, 24.0522, 73.0764)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B84DF #DFB65B
analogous
#5BC6DF #5B84DF #745BDF
triadic
#5B84DF #DF5B84 #84DF5B
tetradic
#5B84DF #DF5BC6 #DFB65B #5BDF74
square
#5B84DF #DF5BC6 #DFB65B #5BDF74
split-complementary
#5B84DF #DF745B #C6DF5B
monochromatic
#1F47A0 #295ED4 #5B84DF #8EAAE9 #C1D1F3

Accessibility & contrast

On white

3.61
#5B84DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5B84DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B84DF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B84DF#FFFFFF#000000##000000
##5B84DF1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#4A81DD
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b84df;
/* rgb */ color: rgb(91, 132, 223);
/* oklch */ color: oklch(62.6% 0.145 264.3);
Tailwind
colors: {
  custom: {
    50: '#94a7e9',
    500: '#5b84df',
    950: '#000000',
  },
}
SCSS
$custom: #5b84df;
$custom-light: #94a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b84df",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 221.364,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62628,
    "c": 0.14497,
    "h": 264.3
  },
  "luminance": 0.24054
}

Semantic roles & 50–950 ramp

primary
#5B84DF
secondary
#E3D4B2
accent
#9616CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B84DF

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

Preview Lab → · Contrast checker → · Palette generator →

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