#5B7FED#5B7FED

#5B7FED is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.5% C 0.170 H 267.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5B7FED
RGBrgb(91, 127, 237)
HSLhsl(225, 80%, 64%)
HSVhsv(225, 62%, 93%)
CMYKcmyk(61.6%, 46.4%, 0%, 7.1%)
CIE-LABlab(55.60, 20.82, -59.41)
CIE-LCHlch(55.60, 62.95, 289.31°)
OKLaboklab(62.47% -0.0069 -0.1698)
OKLCHoklch(62.47% 0.17 267.7)
XYZxyz(27.1846, 23.5149, 83.2106)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FED #EDC95B
analogous
#5BC8ED #5B7FED #805BED
triadic
#5B7FED #ED5B7F #7FED5B
tetradic
#5B7FED #ED5BC8 #EDC95B #5BED80
square
#5B7FED #ED5BC8 #EDC95B #5BED80
split-complementary
#5B7FED #ED805B #C8ED5B
monochromatic
#143DB9 #2454E7 #5B7FED #92AAF3 #C9D5F9

Accessibility & contrast

On white

3.68
#5B7FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5B7FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FED
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FED#FFFFFF#000000##000000
##5B7FED1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF1
Deuteranopia (green-blind)
#2F7FEB
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7fed;
/* rgb */ color: rgb(91, 127, 237);
/* oklch */ color: oklch(62.5% 0.170 267.7);
Tailwind
colors: {
  custom: {
    50: '#96a3f3',
    500: '#5b7fed',
    950: '#000000',
  },
}
SCSS
$custom: #5b7fed;
$custom-light: #96a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7fed",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 225.205,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6247,
    "c": 0.16995,
    "h": 267.7
  },
  "luminance": 0.23517
}

Semantic roles & 50–950 ramp

primary
#5B7FED
secondary
#EBDFB9
accent
#A809DD
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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