#5A99F3#5A99F3

#5A99F3 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.2% C 0.149 H 257.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5A99F3
RGBrgb(90, 153, 243)
HSLhsl(215, 86%, 65%)
HSVhsv(215, 63%, 95%)
CMYKcmyk(63%, 37%, 0%, 4.7%)
CIE-LABlab(62.86, 7.10, -51.14)
CIE-LCHlch(62.86, 51.63, 277.91°)
OKLaboklab(68.17% -0.0323 -0.1453)
OKLCHoklch(68.17% 0.149 257.5)
XYZxyz(31.7796, 31.4242, 89.1673)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A99F3 #F3B45A
analogous
#5AE6F3 #5A99F3 #675AF3
triadic
#5A99F3 #F35A99 #99F35A
tetradic
#5A99F3 #F35AE6 #F3B45A #5AF367
square
#5A99F3 #F35AE6 #F3B45A #5AF367
split-complementary
#5A99F3 #F3675A #E6F35A
monochromatic
#0E59C4 #2176EF #5A99F3 #93BCF7 #CCE0FB

Accessibility & contrast

On white

2.88
#5A99F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5A99F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A99F3
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A99F3#FFFFFF#000000##000000
##5A99F31.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F7
Deuteranopia (green-blind)
#5C92F1
Tritanopia (blue-blind)
#00AEBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5a99f3;
/* rgb */ color: rgb(90, 153, 243);
/* oklch */ color: oklch(68.2% 0.149 257.5);
Tailwind
colors: {
  custom: {
    50: '#96b6f7',
    500: '#5a99f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a99f3;
$custom-light: #96b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a99f3",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 243
  },
  "hsl": {
    "h": 215.294,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68166,
    "c": 0.14881,
    "h": 257.5
  },
  "luminance": 0.31427
}

Semantic roles & 50–950 ramp

primary
#5A99F3
secondary
#EED9BB
accent
#8703E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A99F3

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

Preview Lab → · Contrast checker → · Palette generator →

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