#5B7CED#5B7CED

#5B7CED is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.9% C 0.174 H 268.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5B7CED
RGBrgb(91, 124, 237)
HSLhsl(226, 80%, 64%)
HSVhsv(226, 62%, 93%)
CMYKcmyk(61.6%, 47.7%, 0%, 7.1%)
CIE-LABlab(54.82, 22.64, -60.66)
CIE-LCHlch(54.82, 64.75, 290.47°)
OKLaboklab(61.87% -0.004 -0.1735)
OKLCHoklch(61.87% 0.174 268.7)
XYZxyz(26.8029, 22.7516, 83.0834)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CED #EDCC5B
analogous
#5BC5ED #5B7CED #835BED
triadic
#5B7CED #ED5B7C #7CED5B
tetradic
#5B7CED #ED5BC5 #EDCC5B #5BED83
square
#5B7CED #ED5BC5 #EDCC5B #5BED83
split-complementary
#5B7CED #ED835B #C5ED5B
monochromatic
#143AB9 #2450E7 #5B7CED #92A8F3 #C9D4F9

Accessibility & contrast

On white

3.78
#5B7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5B7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CED
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CED#FFFFFF#000000##000000
##5B7CED1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF1
Deuteranopia (green-blind)
#257DEB
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b7ced;
/* rgb */ color: rgb(91, 124, 237);
/* oklch */ color: oklch(61.9% 0.174 268.7);
Tailwind
colors: {
  custom: {
    50: '#96a1f3',
    500: '#5b7ced',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ced;
$custom-light: #96a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ced",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 226.438,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.17359,
    "h": 268.7
  },
  "luminance": 0.22754
}

Semantic roles & 50–950 ramp

primary
#5B7CED
secondary
#EBE0B9
accent
#AD09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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