#5B7DFB#5B7DFB

#5B7DFB is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.0% C 0.191 H 269.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5B7DFB
RGBrgb(91, 125, 251)
HSLhsl(227, 95%, 67%)
HSVhsv(227, 64%, 98%)
CMYKcmyk(63.7%, 50.2%, 0%, 1.6%)
CIE-LABlab(55.94, 26.73, -66.62)
CIE-LCHlch(55.94, 71.78, 291.86°)
OKLaboklab(63.01% -0.0034 -0.191)
OKLCHoklch(63.01% 0.191 269)
XYZxyz(29.0547, 23.8538, 94.3212)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DFB #FBD95B
analogous
#5BCDFB #5B7DFB #895BFB
triadic
#5B7DFB #FB5B7D #7DFB5B
tetradic
#5B7DFB #FB5BCD #FBD95B #5BFB89
square
#5B7DFB #FB5BCD #FBD95B #5BFB89
split-complementary
#5B7DFB #FB895B #CDFB5B
monochromatic
#0532D6 #1F4EFA #5B7DFB #97ACFC #D2DCFE

Accessibility & contrast

On white

3.64
#5B7DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5B7DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7DFB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7DFB#FFFFFF#000000##000000
##5B7DFB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#009AB0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b7dfb;
/* rgb */ color: rgb(91, 125, 251);
/* oklch */ color: oklch(63.0% 0.191 269.0);
Tailwind
colors: {
  custom: {
    50: '#98a2fd',
    500: '#5b7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #5b7dfb;
$custom-light: #98a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7dfb",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 227.25,
    "s": 95.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63005,
    "c": 0.19108,
    "h": 269
  },
  "luminance": 0.23856
}

Semantic roles & 50–950 ramp

primary
#5B7DFB
secondary
#F2E8C0
accent
#B500E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F18
muted
#7F7E86

Preview Lab

Preview with #5B7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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