#5A6ED4#5A6ED4

#5A6ED4 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.4% C 0.157 H 272.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5A6ED4
RGBrgb(90, 110, 212)
HSLhsl(230, 59%, 59%)
HSVhsv(230, 58%, 83%)
CMYKcmyk(57.5%, 48.1%, 0%, 16.9%)
CIE-LABlab(49.59, 22.75, -54.99)
CIE-LCHlch(49.59, 59.51, 292.47°)
OKLaboklab(57.4% 0.0061 -0.157)
OKLCHoklch(57.4% 0.157 272.2)
XYZxyz(21.6721, 18.0773, 64.6218)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6ED4 #D4C05A
analogous
#5AABD4 #5A6ED4 #835AD4
triadic
#5A6ED4 #D45A6E #6ED45A
tetradic
#5A6ED4 #D45AAB #D4C05A #5AD483
square
#5A6ED4 #D45AAB #D4C05A #5AD483
split-complementary
#5A6ED4 #D4835A #ABD45A
monochromatic
#25368E #3249BF #5A6ED4 #8B99E1 #BBC3ED

Accessibility & contrast

On white

4.55
#5A6ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5A6ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6ED4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6ED4#FFFFFF#000000##000000
##5A6ED41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD8
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a6ed4;
/* rgb */ color: rgb(90, 110, 212);
/* oklch */ color: oklch(57.4% 0.157 272.2);
Tailwind
colors: {
  custom: {
    50: '#9297e2',
    500: '#5a6ed4',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ed4;
$custom-light: #9297e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ed4",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 212
  },
  "hsl": {
    "h": 230.164,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.15716,
    "h": 272.2
  },
  "luminance": 0.18079
}

Semantic roles & 50–950 ramp

primary
#5A6ED4
secondary
#DDD5AD
accent
#C846E2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5A6ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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