#5D7BDF#5D7BDF

#5D7BDF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.9% C 0.155 H 268.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5D7BDF
RGBrgb(93, 123, 223)
HSLhsl(226, 67%, 62%)
HSVhsv(226, 58%, 87%)
CMYKcmyk(58.3%, 44.8%, 0%, 12.5%)
CIE-LABlab(53.83, 18.97, -54.40)
CIE-LCHlch(53.83, 57.61, 289.23°)
OKLaboklab(60.89% -0.003 -0.1551)
OKLCHoklch(60.89% 0.155 268.9)
XYZxyz(24.9120, 21.8188, 72.6964)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BDF #DFC15D
analogous
#5DBCDF #5D7BDF #805DDF
triadic
#5D7BDF #DF5D7B #7BDF5D
tetradic
#5D7BDF #DF5DBC #DFC15D #5DDF80
square
#5D7BDF #DF5DBC #DFC15D #5DDF80
split-complementary
#5D7BDF #DF805D #BCDF5D
monochromatic
#203EA2 #2A51D5 #5D7BDF #90A5E9 #C3CEF3

Accessibility & contrast

On white

3.91
#5D7BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5D7BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BDF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BDF#FFFFFF#000000##000000
##5D7BDF1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d7bdf;
/* rgb */ color: rgb(93, 123, 223);
/* oklch */ color: oklch(60.9% 0.155 268.9);
Tailwind
colors: {
  custom: {
    50: '#95a0e9',
    500: '#5d7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #5d7bdf;
$custom-light: #95a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7bdf",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 226.154,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60886,
    "c": 0.15513,
    "h": 268.9
  },
  "luminance": 0.21821
}

Semantic roles & 50–950 ramp

primary
#5D7BDF
secondary
#E4D9B4
accent
#A417CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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