#5A8FDA#5A8FDA

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

Color values

HEX#5A8FDA
RGBrgb(90, 143, 218)
HSLhsl(215, 63%, 60%)
HSVhsv(215, 59%, 85%)
CMYKcmyk(58.7%, 34.4%, 0%, 14.5%)
CIE-LABlab(58.86, 4.74, -43.62)
CIE-LCHlch(58.86, 43.88, 276.20°)
OKLaboklab(64.64% -0.028 -0.1234)
OKLCHoklch(64.64% 0.127 257.2)
XYZxyz(26.6893, 26.8782, 70.0976)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FDA #DAA55A
analogous
#5ACFDA #5A8FDA #655ADA
triadic
#5A8FDA #DA5A8F #8FDA5A
tetradic
#5A8FDA #DA5ACF #DAA55A #5ADA65
square
#5A8FDA #DA5ACF #DAA55A #5ADA65
split-complementary
#5A8FDA #DA655A #CFDA5A
monochromatic
#225398 #2D6ECA #5A8FDA #8CB1E5 #BED3F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8FDA#FFFFFF#000000##000000
##5A8FDA1.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)
#7094DD
Deuteranopia (green-blind)
#5F88D8
Tritanopia (blue-blind)
#00A0AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8fda;
/* rgb */ color: rgb(90, 143, 218);
/* oklch */ color: oklch(64.6% 0.127 257.2);
Tailwind
colors: {
  custom: {
    50: '#92afe6',
    500: '#5a8fda',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fda;
$custom-light: #92afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fda",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 215.156,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64643,
    "c": 0.12653,
    "h": 257.2
  },
  "luminance": 0.26881
}

Semantic roles & 50–950 ramp

primary
#5A8FDA
secondary
#E0CCAF
accent
#821ACB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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