#5A94F4#5A94F4

#5A94F4 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.2% C 0.155 H 259.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5A94F4
RGBrgb(90, 148, 244)
HSLhsl(217, 88%, 65%)
HSVhsv(217, 63%, 96%)
CMYKcmyk(63.1%, 39.3%, 0%, 4.3%)
CIE-LABlab(61.55, 10.38, -53.78)
CIE-LCHlch(61.55, 54.77, 280.92°)
OKLaboklab(67.16% -0.0271 -0.153)
OKLCHoklch(67.16% 0.155 259.9)
XYZxyz(31.1297, 29.8822, 89.6977)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A94F4 #F4BA5A
analogous
#5AE1F4 #5A94F4 #6D5AF4
triadic
#5A94F4 #F45A94 #94F45A
tetradic
#5A94F4 #F45AE1 #F4BA5A #5AF46D
square
#5A94F4 #F45AE1 #F4BA5A #5AF46D
split-complementary
#5A94F4 #F46D5A #E1F45A
monochromatic
#0D53C6 #216FF0 #5A94F4 #93B9F8 #CDDEFC

Accessibility & contrast

On white

3.01
#5A94F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5A94F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A94F4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A94F4#FFFFFF#000000##000000
##5A94F41.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF8
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a94f4;
/* rgb */ color: rgb(90, 148, 244);
/* oklch */ color: oklch(67.2% 0.155 259.9);
Tailwind
colors: {
  custom: {
    50: '#96b2f8',
    500: '#5a94f4',
    950: '#000000',
  },
}
SCSS
$custom: #5a94f4;
$custom-light: #96b2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a94f4",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 244
  },
  "hsl": {
    "h": 217.403,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67164,
    "c": 0.15542,
    "h": 259.9
  },
  "luminance": 0.29885
}

Semantic roles & 50–950 ramp

primary
#5A94F4
secondary
#EFDBBB
accent
#8F01E4
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A94F4

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

Preview Lab → · Contrast checker → · Palette generator →

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