#5D7FDF#5D7FDF

#5D7FDF is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.7% C 0.150 H 267.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5D7FDF
RGBrgb(93, 127, 223)
HSLhsl(224, 67%, 62%)
HSVhsv(224, 58%, 87%)
CMYKcmyk(58.3%, 43%, 0%, 12.5%)
CIE-LABlab(54.90, 16.54, -52.70)
CIE-LCHlch(54.90, 55.23, 287.42°)
OKLaboklab(61.7% -0.0072 -0.1501)
OKLCHoklch(61.7% 0.15 267.3)
XYZxyz(25.4184, 22.8316, 72.8652)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FDF #DFBD5D
analogous
#5DC0DF #5D7FDF #7C5DDF
triadic
#5D7FDF #DF5D7F #7FDF5D
tetradic
#5D7FDF #DF5DC0 #DFBD5D #5DDF7C
square
#5D7FDF #DF5DC0 #DFBD5D #5DDF7C
split-complementary
#5D7FDF #DF7C5D #C0DF5D
monochromatic
#2042A2 #2A57D5 #5D7FDF #90A7E9 #C3D0F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7FDF#FFFFFF#000000##000000
##5D7FDF1.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)
#548AE3
Deuteranopia (green-blind)
#427EDD
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7fdf;
/* rgb */ color: rgb(93, 127, 223);
/* oklch */ color: oklch(61.7% 0.150 267.3);
Tailwind
colors: {
  custom: {
    50: '#95a3e9',
    500: '#5d7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fdf;
$custom-light: #95a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fdf",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 224.308,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61701,
    "c": 0.15023,
    "h": 267.3
  },
  "luminance": 0.22834
}

Semantic roles & 50–950 ramp

primary
#5D7FDF
secondary
#E4D7B4
accent
#9F17CF
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5D7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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