#5D8AF2#5D8AF2

#5D8AF2 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.1% C 0.163 H 264.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5D8AF2
RGBrgb(93, 138, 242)
HSLhsl(222, 85%, 66%)
HSVhsv(222, 62%, 95%)
CMYKcmyk(61.6%, 43%, 0%, 5.1%)
CIE-LABlab(58.89, 16.19, -56.90)
CIE-LCHlch(58.89, 59.16, 285.88°)
OKLaboklab(65.11% -0.0151 -0.1623)
OKLCHoklch(65.11% 0.163 264.7)
XYZxyz(29.6242, 26.9123, 87.6206)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8AF2 #F2C55D
analogous
#5DD5F2 #5D8AF2 #7A5DF2
triadic
#5D8AF2 #F25D8A #8AF25D
tetradic
#5D8AF2 #F25DD5 #F2C55D #5DF27A
square
#5D8AF2 #F25DD5 #F2C55D #5DF27A
split-complementary
#5D8AF2 #F27A5D #D5F25D
monochromatic
#1046C5 #2461ED #5D8AF2 #96B3F7 #CEDCFB

Accessibility & contrast

On white

3.29
#5D8AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#5D8AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8AF2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8AF2#FFFFFF#000000##000000
##5D8AF21.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#4387F0
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5d8af2;
/* rgb */ color: rgb(93, 138, 242);
/* oklch */ color: oklch(65.1% 0.163 264.7);
Tailwind
colors: {
  custom: {
    50: '#97abf7',
    500: '#5d8af2',
    950: '#000000',
  },
}
SCSS
$custom: #5d8af2;
$custom-light: #97abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8af2",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 221.879,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65113,
    "c": 0.16297,
    "h": 264.7
  },
  "luminance": 0.26915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D8AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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