#5A94F3#5A94F3

#5A94F3 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.1% C 0.154 H 259.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5A94F3
RGBrgb(90, 148, 243)
HSLhsl(217, 86%, 65%)
HSVhsv(217, 63%, 95%)
CMYKcmyk(63%, 39.1%, 0%, 4.7%)
CIE-LABlab(61.50, 10.04, -53.31)
CIE-LCHlch(61.50, 54.25, 280.67°)
OKLaboklab(67.11% -0.0273 -0.1517)
OKLCHoklch(67.11% 0.154 259.8)
XYZxyz(30.9783, 29.8216, 88.9002)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A94F3 #F3B95A
analogous
#5AE0F3 #5A94F3 #6C5AF3
triadic
#5A94F3 #F35A94 #94F35A
tetradic
#5A94F3 #F35AE0 #F3B95A #5AF36C
square
#5A94F3 #F35AE0 #F3B95A #5AF36C
split-complementary
#5A94F3 #F36C5A #E0F35A
monochromatic
#0E53C4 #216FEF #5A94F3 #93B9F7 #CCDEFB

Accessibility & contrast

On white

3.02
#5A94F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5A94F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A94F3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A94F3#FFFFFF#000000##000000
##5A94F31.003.026.976.97
#FFFFFF3.021.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF7
Deuteranopia (green-blind)
#548EF1
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a94f3;
/* rgb */ color: rgb(90, 148, 243);
/* oklch */ color: oklch(67.1% 0.154 259.8);
Tailwind
colors: {
  custom: {
    50: '#96b2f7',
    500: '#5a94f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a94f3;
$custom-light: #96b2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a94f3",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 243
  },
  "hsl": {
    "h": 217.255,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67107,
    "c": 0.1541,
    "h": 259.8
  },
  "luminance": 0.29825
}

Semantic roles & 50–950 ramp

primary
#5A94F3
secondary
#EEDBBB
accent
#8E03E3
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A94F3

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

Preview Lab → · Contrast checker → · Palette generator →

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