#5B7DF1#5B7DF1

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

Color values

HEX#5B7DF1
RGBrgb(91, 125, 241)
HSLhsl(226, 84%, 65%)
HSVhsv(226, 62%, 95%)
CMYKcmyk(62.2%, 48.1%, 0%, 5.5%)
CIE-LABlab(55.32, 23.37, -62.08)
CIE-LCHlch(55.32, 66.34, 290.63°)
OKLaboklab(62.33% -0.0045 -0.1777)
OKLCHoklch(62.33% 0.178 268.6)
XYZxyz(27.5198, 23.2398, 86.2375)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DF1 #F1CF5B
analogous
#5BC8F1 #5B7DF1 #845BF1
triadic
#5B7DF1 #F15B7D #7DF15B
tetradic
#5B7DF1 #F15BC8 #F1CF5B #5BF184
square
#5B7DF1 #F15BC8 #F1CF5B #5BF184
split-complementary
#5B7DF1 #F1845B #C8F15B
monochromatic
#1039C1 #2350EC #5B7DF1 #93AAF6 #CCD6FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7DF1#FFFFFF#000000##000000
##5B7DF11.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)
#408CF5
Deuteranopia (green-blind)
#207EEF
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b7df1;
/* rgb */ color: rgb(91, 125, 241);
/* oklch */ color: oklch(62.3% 0.178 268.6);
Tailwind
colors: {
  custom: {
    50: '#97a2f6',
    500: '#5b7df1',
    950: '#000000',
  },
}
SCSS
$custom: #5b7df1;
$custom-light: #97a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7df1",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 226.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62333,
    "c": 0.17776,
    "h": 268.6
  },
  "luminance": 0.23242
}

Semantic roles & 50–950 ramp

primary
#5B7DF1
secondary
#EDE2BA
accent
#AF05E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5B7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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