#5A5EF3#5A5EF3

#5A5EF3 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.7% C 0.218 H 275.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5A5EF3
RGBrgb(90, 94, 243)
HSLhsl(238, 86%, 65%)
HSVhsv(238, 63%, 95%)
CMYKcmyk(63%, 61.3%, 0%, 4.7%)
CIE-LABlab(47.81, 42.68, -75.35)
CIE-LCHlch(47.81, 86.60, 299.53°)
OKLaboklab(56.75% 0.0219 -0.2171)
OKLCHoklch(56.75% 0.218 275.8)
XYZxyz(24.3915, 16.6481, 86.7047)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5EF3 #F3EF5A
analogous
#5AABF3 #5A5EF3 #A25AF3
triadic
#5A5EF3 #F35A5E #5EF35A
tetradic
#5A5EF3 #F35AAB #F3EF5A #5AF3A2
square
#5A5EF3 #F35AAB #F3EF5A #5AF3A2
split-complementary
#5A5EF3 #F3A25A #ABF35A
monochromatic
#0E13C4 #2126EF #5A5EF3 #9396F7 #CCCDFB

Accessibility & contrast

On white

4.85
#5A5EF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5A5EF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5EF3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5EF3#FFFFFF#000000##FFFFFF
##5A5EF31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a5ef3;
/* rgb */ color: rgb(90, 94, 243);
/* oklch */ color: oklch(56.7% 0.218 275.8);
Tailwind
colors: {
  custom: {
    50: '#988cf8',
    500: '#5a5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #5a5ef3;
$custom-light: #988cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5ef3",
  "rgb": {
    "r": 90,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 238.431,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.21818,
    "h": 275.8
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#5A5EF3
secondary
#EEEDBB
accent
#DD03E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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