#5B85CA#5B85CA

#5B85CA is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.7% C 0.115 H 259.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5B85CA
RGBrgb(91, 133, 202)
HSLhsl(217, 51%, 57%)
HSVhsv(217, 55%, 79%)
CMYKcmyk(55%, 34.2%, 0%, 20.8%)
CIE-LABlab(55.34, 5.69, -40.17)
CIE-LCHlch(55.34, 40.57, 278.06°)
OKLaboklab(61.66% -0.0201 -0.1134)
OKLCHoklch(61.66% 0.115 259.9)
XYZxyz(23.3589, 23.2616, 59.1247)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85CA #CAA05B
analogous
#5BBDCA #5B85CA #685BCA
triadic
#5B85CA #CA5B85 #85CA5B
tetradic
#5B85CA #CA5BBD #CAA05B #5BCA68
square
#5B85CA #CA5BBD #CAA05B #5BCA68
split-complementary
#5B85CA #CA685B #BDCA5B
monochromatic
#2A4B81 #3965AF #5B85CA #89A7D9 #B8CAE8

Accessibility & contrast

On white

3.72
#5B85CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5B85CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85CA#FFFFFF#000000##000000
##5B85CA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#15949E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b85ca;
/* rgb */ color: rgb(91, 133, 202);
/* oklch */ color: oklch(61.7% 0.115 259.9);
Tailwind
colors: {
  custom: {
    50: '#91a8da',
    500: '#5b85ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b85ca;
$custom-light: #91a8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85ca",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 202
  },
  "hsl": {
    "h": 217.297,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.11517,
    "h": 259.9
  },
  "luminance": 0.23263
}

Semantic roles & 50–950 ramp

primary
#5B85CA
secondary
#D7C6AA
accent
#A54DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B85CA

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

Preview Lab → · Contrast checker → · Palette generator →

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