#5D7BF1#5D7BF1

#5D7BF1 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.1% C 0.180 H 269.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5D7BF1
RGBrgb(93, 123, 241)
HSLhsl(228, 84%, 65%)
HSVhsv(228, 61%, 95%)
CMYKcmyk(61.4%, 49%, 0%, 5.5%)
CIE-LABlab(54.91, 24.93, -62.73)
CIE-LCHlch(54.91, 67.51, 291.68°)
OKLaboklab(62.05% -0.0007 -0.1796)
OKLCHoklch(62.05% 0.18 269.8)
XYZxyz(27.4690, 22.8416, 86.1633)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BF1 #F1D35D
analogous
#5DC5F1 #5D7BF1 #895DF1
triadic
#5D7BF1 #F15D7B #7BF15D
tetradic
#5D7BF1 #F15DC5 #F1D35D #5DF189
square
#5D7BF1 #F15DC5 #F1D35D #5DF189
split-complementary
#5D7BF1 #F1895D #C5F15D
monochromatic
#1135C3 #254DEC #5D7BF1 #95A9F6 #CED7FB

Accessibility & contrast

On white

3.77
#5D7BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5D7BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BF1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BF1#FFFFFF#000000##000000
##5D7BF11.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8AF5
Deuteranopia (green-blind)
#1A7DEF
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7bf1;
/* rgb */ color: rgb(93, 123, 241);
/* oklch */ color: oklch(62.1% 0.180 269.8);
Tailwind
colors: {
  custom: {
    50: '#98a0f6',
    500: '#5d7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #5d7bf1;
$custom-light: #98a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7bf1",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 227.838,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6205,
    "c": 0.1796,
    "h": 269.8
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#5D7BF1
secondary
#EEE4BC
accent
#B405E1
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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