#5A6FDA#5A6FDA

#5A6FDA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.0% C 0.164 H 272.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5A6FDA
RGBrgb(90, 111, 218)
HSLhsl(230, 63%, 60%)
HSVhsv(230, 59%, 85%)
CMYKcmyk(58.7%, 49.1%, 0%, 14.5%)
CIE-LABlab(50.22, 24.11, -57.38)
CIE-LCHlch(50.22, 62.24, 292.79°)
OKLaboklab(57.99% 0.0057 -0.1641)
OKLCHoklch(57.99% 0.164 272)
XYZxyz(22.5516, 18.6027, 68.7184)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6FDA #DAC55A
analogous
#5AAFDA #5A6FDA #855ADA
triadic
#5A6FDA #DA5A6F #6FDA5A
tetradic
#5A6FDA #DA5AAF #DAC55A #5ADA85
square
#5A6FDA #DA5AAF #DAC55A #5ADA85
split-complementary
#5A6FDA #DA855A #AFDA5A
monochromatic
#223598 #2D47CA #5A6FDA #8C9BE5 #BEC6F0

Accessibility & contrast

On white

4.45
#5A6FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5A6FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6FDA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6FDA#FFFFFF#000000##000000
##5A6FDA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDE
Deuteranopia (green-blind)
#2072D8
Tritanopia (blue-blind)
#00879A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6fda;
/* rgb */ color: rgb(90, 111, 218);
/* oklch */ color: oklch(58.0% 0.164 272.0);
Tailwind
colors: {
  custom: {
    50: '#9398e6',
    500: '#5a6fda',
    950: '#000000',
  },
}
SCSS
$custom: #5a6fda;
$custom-light: #9398e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6fda",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 230.156,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.16417,
    "h": 272
  },
  "luminance": 0.18604
}

Semantic roles & 50–950 ramp

primary
#5A6FDA
secondary
#E0D8AF
accent
#AE1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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