#5A8FDD#5A8FDD

#5A8FDD is a light, vivid blue. Relative luminance 0.270; OKLCH L 64.8% C 0.130 H 257.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5A8FDD
RGBrgb(90, 143, 221)
HSLhsl(216, 66%, 61%)
HSVhsv(216, 59%, 87%)
CMYKcmyk(59.3%, 35.3%, 0%, 13.3%)
CIE-LABlab(59.01, 5.72, -45.07)
CIE-LCHlch(59.01, 45.43, 277.23°)
OKLaboklab(64.81% -0.0272 -0.1276)
OKLCHoklch(64.81% 0.13 257.9)
XYZxyz(27.0855, 27.0367, 72.1838)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FDD #DDA85A
analogous
#5AD0DD #5A8FDD #665ADD
triadic
#5A8FDD #DD5A8F #8FDD5A
tetradic
#5A8FDD #DD5AD0 #DDA85A #5ADD66
square
#5A8FDD #DD5AD0 #DDA85A #5ADD66
split-complementary
#5A8FDD #DD665A #D0DD5A
monochromatic
#20529C #2B6DCF #5A8FDD #8DB1E7 #BFD4F2

Accessibility & contrast

On white

3.28
#5A8FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5A8FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FDD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FDD#FFFFFF#000000##000000
##5A8FDD1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E0
Deuteranopia (green-blind)
#5D88DB
Tritanopia (blue-blind)
#00A1AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8fdd;
/* rgb */ color: rgb(90, 143, 221);
/* oklch */ color: oklch(64.8% 0.130 257.9);
Tailwind
colors: {
  custom: {
    50: '#93afe8',
    500: '#5a8fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fdd;
$custom-light: #93afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fdd",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 221
  },
  "hsl": {
    "h": 215.725,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64805,
    "c": 0.13048,
    "h": 257.9
  },
  "luminance": 0.27039
}

Semantic roles & 50–950 ramp

primary
#5A8FDD
secondary
#E2CEB1
accent
#8418CE
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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