#5A6BBF#5A6BBF

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

Color values

HEX#5A6BBF
RGBrgb(90, 107, 191)
HSLhsl(230, 44%, 55%)
HSVhsv(230, 53%, 75%)
CMYKcmyk(52.9%, 44%, 0%, 25.1%)
CIE-LABlab(47.56, 17.75, -46.20)
CIE-LCHlch(47.56, 49.50, 291.02°)
OKLaboklab(55.45% 0.0064 -0.1313)
OKLCHoklch(55.45% 0.131 272.8)
XYZxyz(18.8751, 16.4494, 51.4605)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BBF #BFAE5A
analogous
#5A9DBF #5A6BBF #7B5ABF
triadic
#5A6BBF #BF5A6B #6BBF5A
tetradic
#5A6BBF #BF5A9D #BFAE5A #5ABF7B
square
#5A6BBF #BF5A9D #BFAE5A #5ABF7B
split-complementary
#5A6BBF #BF7B5A #9DBF5A
monochromatic
#2C3872 #3D4E9E #5A6BBF #8693D0 #B2BAE1

Accessibility & contrast

On white

4.89
#5A6BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5A6BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6BBF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BBF#FFFFFF#000000##FFFFFF
##5A6BBF1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#3C6DBD
Tritanopia (blue-blind)
#2B7D8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a6bbf;
/* rgb */ color: rgb(90, 107, 191);
/* oklch */ color: oklch(55.5% 0.131 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f95d3',
    500: '#5a6bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bbf;
$custom-light: #8f95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bbf",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 229.901,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5545,
    "c": 0.13143,
    "h": 272.8
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#5A6BBF
secondary
#D0C8A5
accent
#BE54D4
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5A6BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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