#5A6DF9#5A6DF9

#5A6DF9 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 59.8% C 0.208 H 272.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5A6DF9
RGBrgb(90, 109, 249)
HSLhsl(233, 93%, 66%)
HSVhsv(233, 64%, 98%)
CMYKcmyk(63.9%, 56.2%, 0%, 2.4%)
CIE-LABlab(51.78, 35.63, -72.25)
CIE-LCHlch(51.78, 80.56, 296.25°)
OKLaboklab(59.82% 0.0095 -0.2078)
OKLCHoklch(59.82% 0.208 272.6)
XYZxyz(26.7783, 19.9481, 92.0434)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6DF9 #F9E65A
analogous
#5ABDF9 #5A6DF9 #975AF9
triadic
#5A6DF9 #F95A6D #6DF95A
tetradic
#5A6DF9 #F95ABD #F9E65A #5AF997
square
#5A6DF9 #F95ABD #F9E65A #5AF997
split-complementary
#5A6DF9 #F9975A #BDF95A
monochromatic
#0820D1 #1F39F7 #5A6DF9 #95A1FB #D0D6FD

Accessibility & contrast

On white

4.21
#5A6DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5A6DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6DF9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6DF9#FFFFFF#000000##000000
##5A6DF91.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#008FA8
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a6df9;
/* rgb */ color: rgb(90, 109, 249);
/* oklch */ color: oklch(59.8% 0.208 272.6);
Tailwind
colors: {
  custom: {
    50: '#9896fc',
    500: '#5a6df9',
    950: '#000000',
  },
}
SCSS
$custom: #5a6df9;
$custom-light: #9896fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6df9",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 249
  },
  "hsl": {
    "h": 232.83,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.20804,
    "h": 272.6
  },
  "luminance": 0.1995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A6DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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