#5A6BC0#5A6BC0

#5A6BC0 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.5% C 0.133 H 272.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5A6BC0
RGBrgb(90, 107, 192)
HSLhsl(230, 45%, 55%)
HSVhsv(230, 53%, 75%)
CMYKcmyk(53.1%, 44.3%, 0%, 24.7%)
CIE-LABlab(47.62, 18.07, -46.69)
CIE-LCHlch(47.62, 50.07, 291.16°)
OKLaboklab(55.51% 0.0066 -0.1327)
OKLCHoklch(55.51% 0.133 272.8)
XYZxyz(18.9855, 16.4935, 52.0421)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BC0 #C0AF5A
analogous
#5A9EC0 #5A6BC0 #7C5AC0
triadic
#5A6BC0 #C05A6B #6BC05A
tetradic
#5A6BC0 #C05A9E #C0AF5A #5AC07C
square
#5A6BC0 #C05A9E #C0AF5A #5AC07C
split-complementary
#5A6BC0 #C07C5A #9EC05A
monochromatic
#2C3873 #3D4DA0 #5A6BC0 #8693D1 #B3BAE2

Accessibility & contrast

On white

4.88
#5A6BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5A6BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6BC0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BC0#FFFFFF#000000##FFFFFF
##5A6BC01.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4776C3
Deuteranopia (green-blind)
#3B6DBE
Tritanopia (blue-blind)
#2A7D8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a6bc0;
/* rgb */ color: rgb(90, 107, 192);
/* oklch */ color: oklch(55.5% 0.133 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f95d3',
    500: '#5a6bc0',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bc0;
$custom-light: #8f95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bc0",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 192
  },
  "hsl": {
    "h": 230,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.13286,
    "h": 272.8
  },
  "luminance": 0.16495
}

Semantic roles & 50–950 ramp

primary
#5A6BC0
secondary
#D0C9A6
accent
#BF53D4
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5A6BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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