#5A6CF3#5A6CF3

#5A6CF3 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.2% C 0.201 H 272.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5A6CF3
RGBrgb(90, 108, 243)
HSLhsl(233, 86%, 65%)
HSVhsv(233, 63%, 95%)
CMYKcmyk(63%, 55.6%, 0%, 4.7%)
CIE-LABlab(51.11, 34.25, -69.99)
CIE-LCHlch(51.11, 77.92, 296.08°)
OKLaboklab(59.19% 0.0102 -0.2012)
OKLCHoklch(59.19% 0.201 272.9)
XYZxyz(25.7513, 19.3676, 87.1579)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6CF3 #F3E15A
analogous
#5AB9F3 #5A6CF3 #945AF3
triadic
#5A6CF3 #F35A6C #6CF35A
tetradic
#5A6CF3 #F35AB9 #F3E15A #5AF394
square
#5A6CF3 #F35AB9 #F3E15A #5AF394
split-complementary
#5A6CF3 #F3945A #B9F35A
monochromatic
#0E24C4 #2139EF #5A6CF3 #939FF7 #CCD2FB

Accessibility & contrast

On white

4.31
#5A6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5A6CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6CF3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6CF3#FFFFFF#000000##000000
##5A6CF31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6cf3;
/* rgb */ color: rgb(90, 108, 243);
/* oklch */ color: oklch(59.2% 0.201 272.9);
Tailwind
colors: {
  custom: {
    50: '#9796f8',
    500: '#5a6cf3',
    950: '#000000',
  },
}
SCSS
$custom: #5a6cf3;
$custom-light: #9796f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6cf3",
  "rgb": {
    "r": 90,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 232.941,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59191,
    "c": 0.20144,
    "h": 272.9
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#5A6CF3
secondary
#EEE8BB
accent
#C903E3
background
#FAF9FF
surface
#F3F1FF
border
#CDCBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A6CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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