#5A94F9#5A94F9

#5A94F9 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.5% C 0.162 H 260.7°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5A94F9
RGBrgb(90, 148, 249)
HSLhsl(218, 93%, 66%)
HSVhsv(218, 64%, 98%)
CMYKcmyk(63.9%, 40.6%, 0%, 2.4%)
CIE-LABlab(61.82, 12.05, -56.10)
CIE-LCHlch(61.82, 57.38, 282.12°)
OKLaboklab(67.46% -0.0261 -0.1598)
OKLCHoklch(67.46% 0.162 260.7)
XYZxyz(31.8992, 30.1900, 93.7503)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A94F9 #F9BF5A
analogous
#5AE4F9 #5A94F9 #705AF9
triadic
#5A94F9 #F95A94 #94F95A
tetradic
#5A94F9 #F95AE4 #F9BF5A #5AF970
square
#5A94F9 #F95AE4 #F9BF5A #5AF970
split-complementary
#5A94F9 #F9705A #E4F95A
monochromatic
#0851D1 #1F6EF7 #5A94F9 #95BAFB #D0E1FD

Accessibility & contrast

On white

2.98
#5A94F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5A94F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A94F9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A94F9#FFFFFF#000000##000000
##5A94F91.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFD
Deuteranopia (green-blind)
#4E8FF7
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a94f9;
/* rgb */ color: rgb(90, 148, 249);
/* oklch */ color: oklch(67.5% 0.162 260.7);
Tailwind
colors: {
  custom: {
    50: '#97b2fc',
    500: '#5a94f9',
    950: '#000000',
  },
}
SCSS
$custom: #5a94f9;
$custom-light: #97b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a94f9",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 249
  },
  "hsl": {
    "h": 218.113,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67456,
    "c": 0.16196,
    "h": 260.7
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#5A94F9
secondary
#F1DEBE
accent
#9200E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5A94F9

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

Preview Lab → · Contrast checker → · Palette generator →

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