#5A94EF#5A94EF

#5A94EF is a light, vivid blue. Relative luminance 0.296; OKLCH L 66.9% C 0.149 H 259.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5A94EF
RGBrgb(90, 148, 239)
HSLhsl(217, 82%, 65%)
HSVhsv(217, 62%, 94%)
CMYKcmyk(62.3%, 38.1%, 0%, 6.3%)
CIE-LABlab(61.29, 8.71, -51.43)
CIE-LCHlch(61.29, 52.17, 279.61°)
OKLaboklab(66.88% -0.0282 -0.1462)
OKLCHoklch(66.88% 0.149 259.1)
XYZxyz(30.3808, 29.5826, 85.7536)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A94EF #EFB55A
analogous
#5ADFEF #5A94EF #6B5AEF
triadic
#5A94EF #EF5A94 #94EF5A
tetradic
#5A94EF #EF5ADF #EFB55A #5AEF6B
square
#5A94EF #EF5ADF #EFB55A #5AEF6B
split-complementary
#5A94EF #EF6B5A #DFEF5A
monochromatic
#1254BC #2270EA #5A94EF #92B8F4 #CADCFA

Accessibility & contrast

On white

3.04
#5A94EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#5A94EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A94EF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A94EF#FFFFFF#000000##000000
##5A94EF1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#578EED
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a94ef;
/* rgb */ color: rgb(90, 148, 239);
/* oklch */ color: oklch(66.9% 0.149 259.1);
Tailwind
colors: {
  custom: {
    50: '#95b3f5',
    500: '#5a94ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a94ef;
$custom-light: #95b3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a94ef",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 216.644,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66878,
    "c": 0.14887,
    "h": 259.1
  },
  "luminance": 0.29585
}

Semantic roles & 50–950 ramp

primary
#5A94EF
secondary
#ECD8B9
accent
#8B07DF
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A94EF

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

Preview Lab → · Contrast checker → · Palette generator →

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