#5A7EED#5A7EED

#5A7EED is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.2% C 0.171 H 267.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5A7EED
RGBrgb(90, 126, 237)
HSLhsl(225, 80%, 64%)
HSVhsv(225, 62%, 93%)
CMYKcmyk(62%, 46.8%, 0%, 7.1%)
CIE-LABlab(55.29, 21.25, -59.91)
CIE-LCHlch(55.29, 63.57, 289.53°)
OKLaboklab(62.22% -0.0069 -0.1713)
OKLCHoklch(62.22% 0.171 267.7)
XYZxyz(26.9582, 23.2074, 83.1632)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7EED #EDC95A
analogous
#5AC8ED #5A7EED #805AED
triadic
#5A7EED #ED5A7E #7EED5A
tetradic
#5A7EED #ED5AC8 #EDC95A #5AED80
square
#5A7EED #ED5AC8 #EDC95A #5AED80
split-complementary
#5A7EED #ED805A #C8ED5A
monochromatic
#143CB8 #2353E7 #5A7EED #91A9F3 #C8D4F9

Accessibility & contrast

On white

3.72
#5A7EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5A7EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7EED
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7EED#FFFFFF#000000##000000
##5A7EED1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF1
Deuteranopia (green-blind)
#2B7EEB
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a7eed;
/* rgb */ color: rgb(90, 126, 237);
/* oklch */ color: oklch(62.2% 0.171 267.7);
Tailwind
colors: {
  custom: {
    50: '#95a2f3',
    500: '#5a7eed',
    950: '#000000',
  },
}
SCSS
$custom: #5a7eed;
$custom-light: #95a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7eed",
  "rgb": {
    "r": 90,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 225.306,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62217,
    "c": 0.17147,
    "h": 267.7
  },
  "luminance": 0.2321
}

Semantic roles & 50–950 ramp

primary
#5A7EED
secondary
#EBDEB8
accent
#A909DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #5A7EED

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

Preview Lab → · Contrast checker → · Palette generator →

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