#5B7DF3#5B7DF3

#5B7DF3 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.5% C 0.180 H 268.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5B7DF3
RGBrgb(91, 125, 243)
HSLhsl(227, 86%, 65%)
HSVhsv(227, 63%, 95%)
CMYKcmyk(62.6%, 48.6%, 0%, 4.7%)
CIE-LABlab(55.44, 24.04, -62.99)
CIE-LCHlch(55.44, 67.43, 290.89°)
OKLaboklab(62.47% -0.0042 -0.1804)
OKLCHoklch(62.47% 0.18 268.7)
XYZxyz(27.8202, 23.3600, 87.8195)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7DF3 #F3D15B
analogous
#5BC9F3 #5B7DF3 #855BF3
triadic
#5B7DF3 #F35B7D #7DF35B
tetradic
#5B7DF3 #F35BC9 #F3D15B #5BF385
square
#5B7DF3 #F35BC9 #F3D15B #5BF385
split-complementary
#5B7DF3 #F3855B #C9F35B
monochromatic
#0E37C5 #2250EF #5B7DF3 #94AAF7 #CDD7FB

Accessibility & contrast

On white

3.70
#5B7DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5B7DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7DF3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7DF3#FFFFFF#000000##000000
##5B7DF31.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF7
Deuteranopia (green-blind)
#1A7EF1
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7df3;
/* rgb */ color: rgb(91, 125, 243);
/* oklch */ color: oklch(62.5% 0.180 268.7);
Tailwind
colors: {
  custom: {
    50: '#97a2f8',
    500: '#5b7df3',
    950: '#000000',
  },
}
SCSS
$custom: #5b7df3;
$custom-light: #97a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7df3",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 226.579,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62466,
    "c": 0.18044,
    "h": 268.7
  },
  "luminance": 0.23362
}

Semantic roles & 50–950 ramp

primary
#5B7DF3
secondary
#EEE3BB
accent
#B103E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5B7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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