#5A7DE0#5A7DE0

#5A7DE0 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.2% C 0.155 H 267.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5A7DE0
RGBrgb(90, 125, 224)
HSLhsl(224, 68%, 62%)
HSVhsv(224, 60%, 88%)
CMYKcmyk(59.8%, 44.2%, 0%, 12.2%)
CIE-LABlab(54.26, 17.51, -54.29)
CIE-LCHlch(54.26, 57.04, 287.88°)
OKLaboklab(61.19% -0.0078 -0.1548)
OKLCHoklch(61.19% 0.155 267.1)
XYZxyz(25.0000, 22.2206, 73.4781)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7DE0 #E0BD5A
analogous
#5AC0E0 #5A7DE0 #7A5AE0
triadic
#5A7DE0 #E05A7D #7DE05A
tetradic
#5A7DE0 #E05AC0 #E0BD5A #5AE07A
square
#5A7DE0 #E05AC0 #E0BD5A #5AE07A
split-complementary
#5A7DE0 #E07A5A #C0E05A
monochromatic
#1E41A1 #2855D5 #5A7DE0 #8EA6EA #C1CEF3

Accessibility & contrast

On white

3.86
#5A7DE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5A7DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7DE0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7DE0#FFFFFF#000000##000000
##5A7DE01.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F88E4
Deuteranopia (green-blind)
#3B7CDE
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a7de0;
/* rgb */ color: rgb(90, 125, 224);
/* oklch */ color: oklch(61.2% 0.155 267.1);
Tailwind
colors: {
  custom: {
    50: '#93a2ea',
    500: '#5a7de0',
    950: '#000000',
  },
}
SCSS
$custom: #5a7de0;
$custom-light: #93a2ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7de0",
  "rgb": {
    "r": 90,
    "g": 125,
    "b": 224
  },
  "hsl": {
    "h": 224.328,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.15501,
    "h": 267.1
  },
  "luminance": 0.22223
}

Semantic roles & 50–950 ramp

primary
#5A7DE0
secondary
#E4D7B2
accent
#9F15D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #5A7DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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