#5A9BF7#5A9BF7

#5A9BF7 is a light, vivid blue. Relative luminance 0.323; OKLCH L 68.8% C 0.152 H 257.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5A9BF7
RGBrgb(90, 155, 247)
HSLhsl(215, 91%, 66%)
HSVhsv(215, 64%, 97%)
CMYKcmyk(63.6%, 37.2%, 0%, 3.1%)
CIE-LABlab(63.61, 7.26, -52.15)
CIE-LCHlch(63.61, 52.65, 277.93°)
OKLaboklab(68.82% -0.0334 -0.1482)
OKLCHoklch(68.82% 0.152 257.3)
XYZxyz(32.7203, 32.3286, 92.4933)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9BF7 #F7B65A
analogous
#5AEAF7 #5A9BF7 #675AF7
triadic
#5A9BF7 #F75A9B #9BF75A
tetradic
#5A9BF7 #F75AEA #F7B65A #5AF767
square
#5A9BF7 #F75AEA #F7B65A #5AF767
split-complementary
#5A9BF7 #F7675A #EAF75A
monochromatic
#0A5BCD #2078F4 #5A9BF7 #94BEFA #CFE2FD

Accessibility & contrast

On white

2.81
#5A9BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#5A9BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9BF7
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9BF7#FFFFFF#000000##000000
##5A9BF71.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FB
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#00B0BD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5a9bf7;
/* rgb */ color: rgb(90, 155, 247);
/* oklch */ color: oklch(68.8% 0.152 257.3);
Tailwind
colors: {
  custom: {
    50: '#96b8fa',
    500: '#5a9bf7',
    950: '#000000',
  },
}
SCSS
$custom: #5a9bf7;
$custom-light: #96b8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9bf7",
  "rgb": {
    "r": 90,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 215.159,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68815,
    "c": 0.15189,
    "h": 257.3
  },
  "luminance": 0.32332
}

Semantic roles & 50–950 ramp

primary
#5A9BF7
secondary
#F0DBBD
accent
#8600E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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