#5A98F0#5A98F0

#5A98F0 is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.8% C 0.146 H 257.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5A98F0
RGBrgb(90, 152, 240)
HSLhsl(215, 83%, 65%)
HSVhsv(215, 63%, 94%)
CMYKcmyk(62.5%, 36.7%, 0%, 5.9%)
CIE-LABlab(62.44, 6.69, -50.17)
CIE-LCHlch(62.44, 50.61, 277.60°)
OKLaboklab(67.79% -0.032 -0.1424)
OKLCHoklch(67.79% 0.146 257.3)
XYZxyz(31.1672, 30.9185, 86.7465)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98F0 #F0B25A
analogous
#5AE3F0 #5A98F0 #675AF0
triadic
#5A98F0 #F05A98 #98F05A
tetradic
#5A98F0 #F05AE3 #F0B25A #5AF067
square
#5A98F0 #F05AE3 #F0B25A #5AF067
split-complementary
#5A98F0 #F0675A #E3F05A
monochromatic
#1159BE #2275EB #5A98F0 #92BBF5 #CADEFA

Accessibility & contrast

On white

2.92
#5A98F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5A98F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A98F0
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98F0#FFFFFF#000000##000000
##5A98F01.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF4
Deuteranopia (green-blind)
#5D91EE
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5a98f0;
/* rgb */ color: rgb(90, 152, 240);
/* oklch */ color: oklch(67.8% 0.146 257.3);
Tailwind
colors: {
  custom: {
    50: '#95b5f5',
    500: '#5a98f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a98f0;
$custom-light: #95b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98f0",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 240
  },
  "hsl": {
    "h": 215.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67786,
    "c": 0.14597,
    "h": 257.3
  },
  "luminance": 0.30921
}

Semantic roles & 50–950 ramp

primary
#5A98F0
secondary
#EDD7B9
accent
#8606E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A98F0

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

Preview Lab → · Contrast checker → · Palette generator →

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