#5B7DF0#5B7DF0

#5B7DF0 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.3% C 0.176 H 268.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5B7DF0
RGBrgb(91, 125, 240)
HSLhsl(226, 83%, 65%)
HSVhsv(226, 62%, 94%)
CMYKcmyk(62.1%, 47.9%, 0%, 5.9%)
CIE-LABlab(55.26, 23.04, -61.62)
CIE-LCHlch(55.26, 65.79, 290.50°)
OKLaboklab(62.27% -0.0046 -0.1763)
OKLCHoklch(62.27% 0.176 268.5)
XYZxyz(27.3708, 23.1803, 85.4530)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DF0 #F0CE5B
analogous
#5BC7F0 #5B7DF0 #845BF0
triadic
#5B7DF0 #F05B7D #7DF05B
tetradic
#5B7DF0 #F05BC7 #F0CE5B #5BF084
square
#5B7DF0 #F05BC7 #F0CE5B #5BF084
split-complementary
#5B7DF0 #F0845B #C7F05B
monochromatic
#1139BF #2351EB #5B7DF0 #93A9F5 #CBD6FA

Accessibility & contrast

On white

3.73
#5B7DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5B7DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7DF0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7DF0#FFFFFF#000000##000000
##5B7DF01.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF4
Deuteranopia (green-blind)
#227EEE
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b7df0;
/* rgb */ color: rgb(91, 125, 240);
/* oklch */ color: oklch(62.3% 0.176 268.5);
Tailwind
colors: {
  custom: {
    50: '#96a2f6',
    500: '#5b7df0',
    950: '#000000',
  },
}
SCSS
$custom: #5b7df0;
$custom-light: #96a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7df0",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 226.309,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62267,
    "c": 0.17641,
    "h": 268.5
  },
  "luminance": 0.23183
}

Semantic roles & 50–950 ramp

primary
#5B7DF0
secondary
#EDE1BA
accent
#AE06E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5B7DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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