#5D8CF2#5D8CF2

#5D8CF2 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.5% C 0.161 H 263.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5D8CF2
RGBrgb(93, 140, 242)
HSLhsl(221, 85%, 66%)
HSVhsv(221, 62%, 95%)
CMYKcmyk(61.6%, 42.1%, 0%, 5.1%)
CIE-LABlab(59.43, 14.99, -56.05)
CIE-LCHlch(59.43, 58.02, 284.97°)
OKLaboklab(65.52% -0.0171 -0.1597)
OKLCHoklch(65.52% 0.161 263.9)
XYZxyz(29.9137, 27.4915, 87.7171)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8CF2 #F2C35D
analogous
#5DD6F2 #5D8CF2 #785DF2
triadic
#5D8CF2 #F25D8C #8CF25D
tetradic
#5D8CF2 #F25DD6 #F2C35D #5DF278
square
#5D8CF2 #F25DD6 #F2C35D #5DF278
split-complementary
#5D8CF2 #F2785D #D6F25D
monochromatic
#1049C5 #2464ED #5D8CF2 #96B4F7 #CEDCFB

Accessibility & contrast

On white

3.23
#5D8CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#5D8CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8CF2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8CF2#FFFFFF#000000##000000
##5D8CF21.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E96F6
Deuteranopia (green-blind)
#4789F0
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5d8cf2;
/* rgb */ color: rgb(93, 140, 242);
/* oklch */ color: oklch(65.5% 0.161 263.9);
Tailwind
colors: {
  custom: {
    50: '#97adf7',
    500: '#5d8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #5d8cf2;
$custom-light: #97adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8cf2",
  "rgb": {
    "r": 93,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 221.074,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65524,
    "c": 0.16066,
    "h": 263.9
  },
  "luminance": 0.27494
}

Semantic roles & 50–950 ramp

primary
#5D8CF2
secondary
#EEDFBD
accent
#9C04E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5D8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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