#5A94F7#5A94F7

#5A94F7 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.3% C 0.159 H 260.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5A94F7
RGBrgb(90, 148, 247)
HSLhsl(218, 91%, 66%)
HSVhsv(218, 64%, 97%)
CMYKcmyk(63.6%, 40.1%, 0%, 3.1%)
CIE-LABlab(61.71, 11.38, -55.17)
CIE-LCHlch(61.71, 56.33, 281.65°)
OKLaboklab(67.34% -0.0265 -0.1571)
OKLCHoklch(67.34% 0.159 260.4)
XYZxyz(31.5889, 30.0659, 92.1162)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A94F7 #F7BD5A
analogous
#5AE3F7 #5A94F7 #6E5AF7
triadic
#5A94F7 #F75A94 #94F75A
tetradic
#5A94F7 #F75AE3 #F7BD5A #5AF76E
square
#5A94F7 #F75AE3 #F7BD5A #5AF76E
split-complementary
#5A94F7 #F76E5A #E3F75A
monochromatic
#0A52CD #206EF4 #5A94F7 #94BAFA #CFE0FD

Accessibility & contrast

On white

2.99
#5A94F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#5A94F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A94F7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A94F7#FFFFFF#000000##000000
##5A94F71.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a94f7;
/* rgb */ color: rgb(90, 148, 247);
/* oklch */ color: oklch(67.3% 0.159 260.4);
Tailwind
colors: {
  custom: {
    50: '#96b2fa',
    500: '#5a94f7',
    950: '#000000',
  },
}
SCSS
$custom: #5a94f7;
$custom-light: #96b2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a94f7",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 247
  },
  "hsl": {
    "h": 217.834,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67339,
    "c": 0.15934,
    "h": 260.4
  },
  "luminance": 0.30069
}

Semantic roles & 50–950 ramp

primary
#5A94F7
secondary
#F0DDBD
accent
#9100E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A94F7

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

Preview Lab → · Contrast checker → · Palette generator →

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