#5A6FDE#5A6FDE

#5A6FDE is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.3% C 0.170 H 272.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5A6FDE
RGBrgb(90, 111, 222)
HSLhsl(230, 67%, 61%)
HSVhsv(230, 59%, 87%)
CMYKcmyk(59.5%, 50%, 0%, 12.9%)
CIE-LABlab(50.47, 25.44, -59.24)
CIE-LCHlch(50.47, 64.47, 293.24°)
OKLaboklab(58.26% 0.0061 -0.1695)
OKLCHoklch(58.26% 0.17 272.1)
XYZxyz(23.0813, 18.8146, 71.5083)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6FDE #DEC95A
analogous
#5AB1DE #5A6FDE #875ADE
triadic
#5A6FDE #DE5A6F #6FDE5A
tetradic
#5A6FDE #DE5AB1 #DEC95A #5ADE87
square
#5A6FDE #DE5AB1 #DEC95A #5ADE87
split-complementary
#5A6FDE #DE875A #B1DE5A
monochromatic
#20349E #2A44D1 #5A6FDE #8D9CE8 #C0C8F2

Accessibility & contrast

On white

4.41
#5A6FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5A6FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6FDE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6FDE#FFFFFF#000000##000000
##5A6FDE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#337EE2
Deuteranopia (green-blind)
#1673DC
Tritanopia (blue-blind)
#00889C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6fde;
/* rgb */ color: rgb(90, 111, 222);
/* oklch */ color: oklch(58.3% 0.170 272.1);
Tailwind
colors: {
  custom: {
    50: '#9498e9',
    500: '#5a6fde',
    950: '#000000',
  },
}
SCSS
$custom: #5a6fde;
$custom-light: #9498e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6fde",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 222
  },
  "hsl": {
    "h": 230.455,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.16965,
    "h": 272.1
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#5A6FDE
secondary
#E3DBB1
accent
#B117CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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