#5A6DF3#5A6DF3

#5A6DF3 is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 59.4% C 0.200 H 272.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5A6DF3
RGBrgb(90, 109, 243)
HSLhsl(233, 86%, 65%)
HSVhsv(233, 63%, 95%)
CMYKcmyk(63%, 55.1%, 0%, 4.7%)
CIE-LABlab(51.36, 33.64, -69.59)
CIE-LCHlch(51.36, 77.29, 295.80°)
OKLaboklab(59.37% 0.0093 -0.2)
OKLCHoklch(59.37% 0.2 272.7)
XYZxyz(25.8574, 19.5798, 87.1933)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6DF3 #F3E05A
analogous
#5AB9F3 #5A6DF3 #935AF3
triadic
#5A6DF3 #F35A6D #6DF35A
tetradic
#5A6DF3 #F35AB9 #F3E05A #5AF393
square
#5A6DF3 #F35AB9 #F3E05A #5AF393
split-complementary
#5A6DF3 #F3935A #B9F35A
monochromatic
#0E25C4 #213BEF #5A6DF3 #939FF7 #CCD2FB

Accessibility & contrast

On white

4.27
#5A6DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5A6DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6DF3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6DF3#FFFFFF#000000##000000
##5A6DF31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a6df3;
/* rgb */ color: rgb(90, 109, 243);
/* oklch */ color: oklch(59.4% 0.200 272.7);
Tailwind
colors: {
  custom: {
    50: '#9796f8',
    500: '#5a6df3',
    950: '#000000',
  },
}
SCSS
$custom: #5a6df3;
$custom-light: #9796f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6df3",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 232.549,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59373,
    "c": 0.20023,
    "h": 272.7
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#5A6DF3
secondary
#EEE8BB
accent
#C703E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A6DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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