#5B85EA#5B85EA

#5B85EA is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.5% C 0.159 H 265.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5B85EA
RGBrgb(91, 133, 234)
HSLhsl(222, 77%, 64%)
HSVhsv(222, 61%, 92%)
CMYKcmyk(61.1%, 43.2%, 0%, 8.2%)
CIE-LABlab(57.01, 16.18, -55.47)
CIE-LCHlch(57.01, 57.78, 286.26°)
OKLaboklab(63.5% -0.0133 -0.1582)
OKLCHoklch(63.5% 0.159 265.2)
XYZxyz(27.5481, 24.9373, 81.1876)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85EA #EAC05B
analogous
#5BCCEA #5B85EA #785BEA
triadic
#5B85EA #EA5B85 #85EA5B
tetradic
#5B85EA #EA5BCC #EAC05B #5BEA78
square
#5B85EA #EA5BCC #EAC05B #5BEA78
split-complementary
#5B85EA #EA785B #CCEA5B
monochromatic
#1745B4 #255DE3 #5B85EA #91ADF1 #C8D6F8

Accessibility & contrast

On white

3.51
#5B85EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5B85EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85EA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85EA#FFFFFF#000000##000000
##5B85EA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b85ea;
/* rgb */ color: rgb(91, 133, 234);
/* oklch */ color: oklch(63.5% 0.159 265.2);
Tailwind
colors: {
  custom: {
    50: '#95a8f1',
    500: '#5b85ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b85ea;
$custom-light: #95a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85ea",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 222.378,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63498,
    "c": 0.15873,
    "h": 265.2
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

primary
#5B85EA
secondary
#EADBB7
accent
#9D0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B85EA

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

Preview Lab → · Contrast checker → · Palette generator →

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