#5A6FF9#5A6FF9

#5A6FF9 is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.2% C 0.206 H 272.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5A6FF9
RGBrgb(90, 111, 249)
HSLhsl(232, 93%, 66%)
HSVhsv(232, 64%, 98%)
CMYKcmyk(63.9%, 55.4%, 0%, 2.4%)
CIE-LABlab(52.26, 34.42, -71.46)
CIE-LCHlch(52.26, 79.32, 295.72°)
OKLaboklab(60.18% 0.0078 -0.2055)
OKLCHoklch(60.18% 0.206 272.2)
XYZxyz(26.9940, 20.3797, 92.1153)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6FF9 #F9E45A
analogous
#5ABFF9 #5A6FF9 #955AF9
triadic
#5A6FF9 #F95A6F #6FF95A
tetradic
#5A6FF9 #F95ABF #F9E45A #5AF995
square
#5A6FF9 #F95ABF #F9E45A #5AF995
split-complementary
#5A6FF9 #F9955A #BFF95A
monochromatic
#0822D1 #1F3BF7 #5A6FF9 #95A3FB #D0D6FD

Accessibility & contrast

On white

4.14
#5A6FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5A6FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6FF9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6FF9#FFFFFF#000000##000000
##5A6FF91.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#0076F6
Tritanopia (blue-blind)
#0090A9
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a6ff9;
/* rgb */ color: rgb(90, 111, 249);
/* oklch */ color: oklch(60.2% 0.206 272.2);
Tailwind
colors: {
  custom: {
    50: '#9898fc',
    500: '#5a6ff9',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ff9;
$custom-light: #9898fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ff9",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 249
  },
  "hsl": {
    "h": 232.075,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.20564,
    "h": 272.2
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#5A6FF9
secondary
#F1EABE
accent
#C700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5A6FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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