#5A6EF9#5A6EF9

#5A6EF9 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.0% C 0.207 H 272.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5A6EF9
RGBrgb(90, 110, 249)
HSLhsl(232, 93%, 66%)
HSVhsv(232, 64%, 98%)
CMYKcmyk(63.9%, 55.8%, 0%, 2.4%)
CIE-LABlab(52.02, 35.03, -71.85)
CIE-LCHlch(52.02, 79.94, 295.99°)
OKLaboklab(60% 0.0086 -0.2067)
OKLCHoklch(60% 0.207 272.4)
XYZxyz(26.8855, 20.1627, 92.0791)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EF9 #F9E55A
analogous
#5ABEF9 #5A6EF9 #965AF9
triadic
#5A6EF9 #F95A6E #6EF95A
tetradic
#5A6EF9 #F95ABE #F9E55A #5AF996
square
#5A6EF9 #F95ABE #F9E55A #5AF996
split-complementary
#5A6EF9 #F9965A #BEF95A
monochromatic
#0821D1 #1F3AF7 #5A6EF9 #95A2FB #D0D6FD

Accessibility & contrast

On white

4.17
#5A6EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5A6EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EF9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EF9#FFFFFF#000000##000000
##5A6EF91.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#0090A9
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a6ef9;
/* rgb */ color: rgb(90, 110, 249);
/* oklch */ color: oklch(60.0% 0.207 272.4);
Tailwind
colors: {
  custom: {
    50: '#9897fc',
    500: '#5a6ef9',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ef9;
$custom-light: #9897fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ef9",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 232.453,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6,
    "c": 0.20684,
    "h": 272.4
  },
  "luminance": 0.20165
}

Semantic roles & 50–950 ramp

primary
#5A6EF9
secondary
#F1EBBE
accent
#C900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5A6EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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