#5A6BDB#5A6BDB

#5A6BDB is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.3% C 0.171 H 273.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5A6BDB
RGBrgb(90, 107, 219)
HSLhsl(232, 64%, 61%)
HSVhsv(232, 59%, 86%)
CMYKcmyk(58.9%, 51.1%, 0%, 14.1%)
CIE-LABlab(49.25, 26.91, -59.50)
CIE-LCHlch(49.25, 65.30, 294.34°)
OKLaboklab(57.28% 0.0099 -0.1703)
OKLCHoklch(57.28% 0.171 273.3)
XYZxyz(22.2561, 17.8018, 69.2674)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BDB #DBCA5A
analogous
#5AABDB #5A6BDB #895ADB
triadic
#5A6BDB #DB5A6B #6BDB5A
tetradic
#5A6BDB #DB5AAB #DBCA5A #5ADB89
square
#5A6BDB #DB5AAB #DBCA5A #5ADB89
split-complementary
#5A6BDB #DB895A #ABDB5A
monochromatic
#213199 #2C41CB #5A6BDB #8C98E6 #BEC5F1

Accessibility & contrast

On white

4.60
#5A6BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5A6BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6BDB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BDB#FFFFFF#000000##FFFFFF
##5A6BDB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#0970D9
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a6bdb;
/* rgb */ color: rgb(90, 107, 219);
/* oklch */ color: oklch(57.3% 0.171 273.3);
Tailwind
colors: {
  custom: {
    50: '#9395e7',
    500: '#5a6bdb',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bdb;
$custom-light: #9395e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bdb",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 232.093,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.17063,
    "h": 273.3
  },
  "luminance": 0.17804
}

Semantic roles & 50–950 ramp

primary
#5A6BDB
secondary
#E1DAB0
accent
#B41ACC
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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