#5D7BF0#5D7BF0

#5D7BF0 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.178 H 269.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5D7BF0
RGBrgb(93, 123, 240)
HSLhsl(228, 83%, 65%)
HSVhsv(228, 61%, 94%)
CMYKcmyk(61.2%, 48.7%, 0%, 5.9%)
CIE-LABlab(54.85, 24.60, -62.28)
CIE-LCHlch(54.85, 66.96, 291.56°)
OKLaboklab(61.98% -0.0008 -0.1783)
OKLCHoklch(61.98% 0.178 269.7)
XYZxyz(27.3200, 22.7820, 85.3788)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BF0 #F0D25D
analogous
#5DC5F0 #5D7BF0 #885DF0
triadic
#5D7BF0 #F05D7B #7BF05D
tetradic
#5D7BF0 #F05DC5 #F0D25D #5DF088
square
#5D7BF0 #F05DC5 #F0D25D #5DF088
split-complementary
#5D7BF0 #F0885D #C5F05D
monochromatic
#1236C1 #254DEB #5D7BF0 #95A9F5 #CDD6FA

Accessibility & contrast

On white

3.78
#5D7BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5D7BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BF0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BF0#FFFFFF#000000##000000
##5D7BF01.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF4
Deuteranopia (green-blind)
#1D7DEE
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7bf0;
/* rgb */ color: rgb(93, 123, 240);
/* oklch */ color: oklch(62.0% 0.178 269.7);
Tailwind
colors: {
  custom: {
    50: '#98a0f6',
    500: '#5d7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #5d7bf0;
$custom-light: #98a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7bf0",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 227.755,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61984,
    "c": 0.17826,
    "h": 269.7
  },
  "luminance": 0.22784
}

Semantic roles & 50–950 ramp

primary
#5D7BF0
secondary
#EDE3BC
accent
#B306DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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