#5A94E7#5A94E7

#5A94E7 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.4% C 0.138 H 257.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5A94E7
RGBrgb(90, 148, 231)
HSLhsl(215, 75%, 63%)
HSVhsv(215, 61%, 91%)
CMYKcmyk(61%, 35.9%, 0%, 9.4%)
CIE-LABlab(60.89, 6.06, -47.65)
CIE-LCHlch(60.89, 48.04, 277.25°)
OKLaboklab(66.43% -0.03 -0.1351)
OKLCHoklch(66.43% 0.138 257.5)
XYZxyz(29.2250, 29.1203, 79.6665)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A94E7 #E7AD5A
analogous
#5ADBE7 #5A94E7 #665AE7
triadic
#5A94E7 #E75A94 #94E75A
tetradic
#5A94E7 #E75ADB #E7AD5A #5AE766
square
#5A94E7 #E75ADB #E7AD5A #5AE766
split-complementary
#5A94E7 #E7665A #DBE75A
monochromatic
#1956AD #2571DF #5A94E7 #8FB7EF #C5D9F7

Accessibility & contrast

On white

3.08
#5A94E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#5A94E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A94E7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A94E7#FFFFFF#000000##000000
##5A94E71.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEA
Deuteranopia (green-blind)
#5D8DE5
Tritanopia (blue-blind)
#00A7B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5a94e7;
/* rgb */ color: rgb(90, 148, 231);
/* oklch */ color: oklch(66.4% 0.138 257.5);
Tailwind
colors: {
  custom: {
    50: '#94b3ef',
    500: '#5a94e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a94e7;
$custom-light: #94b3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a94e7",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 231
  },
  "hsl": {
    "h": 215.319,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66431,
    "c": 0.13841,
    "h": 257.5
  },
  "luminance": 0.29123
}

Semantic roles & 50–950 ramp

primary
#5A94E7
secondary
#E8D3B5
accent
#840FD7
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A94E7

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

Preview Lab → · Contrast checker → · Palette generator →

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