#5A6EBF#5A6EBF

#5A6EBF is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.1% C 0.128 H 271.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5A6EBF
RGBrgb(90, 110, 191)
HSLhsl(228, 44%, 55%)
HSVhsv(228, 53%, 75%)
CMYKcmyk(52.9%, 42.4%, 0%, 25.1%)
CIE-LABlab(48.37, 15.89, -44.92)
CIE-LCHlch(48.37, 47.65, 289.49°)
OKLaboklab(56.07% 0.003 -0.1275)
OKLCHoklch(56.07% 0.128 271.3)
XYZxyz(19.1933, 17.0858, 51.5666)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EBF #BFAB5A
analogous
#5AA0BF #5A6EBF #795ABF
triadic
#5A6EBF #BF5A6E #6EBF5A
tetradic
#5A6EBF #BF5AA0 #BFAB5A #5ABF79
square
#5A6EBF #BF5AA0 #BFAB5A #5ABF79
split-complementary
#5A6EBF #BF795A #A0BF5A
monochromatic
#2C3A72 #3D519E #5A6EBF #8695D0 #B2BCE1

Accessibility & contrast

On white

4.75
#5A6EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5A6EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6EBF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EBF#FFFFFF#000000##FFFFFF
##5A6EBF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#416FBD
Tritanopia (blue-blind)
#2A7F8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a6ebf;
/* rgb */ color: rgb(90, 110, 191);
/* oklch */ color: oklch(56.1% 0.128 271.3);
Tailwind
colors: {
  custom: {
    50: '#8f97d3',
    500: '#5a6ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ebf;
$custom-light: #8f97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ebf",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 191
  },
  "hsl": {
    "h": 228.119,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.1275,
    "h": 271.3
  },
  "luminance": 0.17087
}

Semantic roles & 50–950 ramp

primary
#5A6EBF
secondary
#D0C7A5
accent
#BB54D4
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5A6EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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