#5A6FE9#5A6FE9

#5A6FE9 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.185 H 272.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5A6FE9
RGBrgb(90, 111, 233)
HSLhsl(231, 76%, 63%)
HSVhsv(231, 61%, 91%)
CMYKcmyk(61.4%, 52.4%, 0%, 8.6%)
CIE-LABlab(51.18, 29.09, -64.29)
CIE-LCHlch(51.18, 70.56, 294.35°)
OKLaboklab(59.02% 0.007 -0.1844)
OKLCHoklch(59.02% 0.185 272.2)
XYZxyz(24.6040, 19.4237, 79.5276)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6FE9 #E9D45A
analogous
#5AB6E9 #5A6FE9 #8C5AE9
triadic
#5A6FE9 #E95A6F #6FE95A
tetradic
#5A6FE9 #E95AB6 #E9D45A #5AE98C
square
#5A6FE9 #E95AB6 #E9D45A #5AE98C
split-complementary
#5A6FE9 #E98C5A #B6E95A
monochromatic
#182EB1 #2440E2 #5A6FE9 #909EF0 #C6CDF7

Accessibility & contrast

On white

4.30
#5A6FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5A6FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6FE9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6FE9#FFFFFF#000000##000000
##5A6FE91.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2280ED
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a6fe9;
/* rgb */ color: rgb(90, 111, 233);
/* oklch */ color: oklch(59.0% 0.185 272.2);
Tailwind
colors: {
  custom: {
    50: '#9598f1',
    500: '#5a6fe9',
    950: '#000000',
  },
}
SCSS
$custom: #5a6fe9;
$custom-light: #9598f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6fe9",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 231.189,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.18452,
    "h": 272.2
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#5A6FE9
secondary
#E9E1B6
accent
#BB0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5A6FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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