#5A7BBC#5A7BBC

#5A7BBC is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.7% C 0.107 H 263.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5A7BBC
RGBrgb(90, 123, 188)
HSLhsl(220, 42%, 55%)
HSVhsv(220, 52%, 74%)
CMYKcmyk(52.1%, 34.6%, 0%, 26.3%)
CIE-LABlab(51.80, 6.98, -37.76)
CIE-LCHlch(51.80, 38.40, 280.48°)
OKLaboklab(58.67% -0.013 -0.1065)
OKLCHoklch(58.67% 0.107 263)
XYZxyz(20.3735, 19.9690, 50.3480)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7BBC #BC9B5A
analogous
#5AACBC #5A7BBC #6A5ABC
triadic
#5A7BBC #BC5A7B #7BBC5A
tetradic
#5A7BBC #BC5AAC #BC9B5A #5ABC6A
square
#5A7BBC #BC5AAC #BC9B5A #5ABC6A
split-complementary
#5A7BBC #BC6A5A #ACBC5A
monochromatic
#2D436F #3F5D9A #5A7BBC #869ECE #B1C1DF

Accessibility & contrast

On white

4.21
#5A7BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5A7BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7BBC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7BBC#FFFFFF#000000##000000
##5A7BBC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BF
Deuteranopia (green-blind)
#5677BB
Tritanopia (blue-blind)
#2A8993
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a7bbc;
/* rgb */ color: rgb(90, 123, 188);
/* oklch */ color: oklch(58.7% 0.107 263.0);
Tailwind
colors: {
  custom: {
    50: '#8fa0d0',
    500: '#5a7bbc',
    950: '#000000',
  },
}
SCSS
$custom: #5a7bbc;
$custom-light: #8fa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7bbc",
  "rgb": {
    "r": 90,
    "g": 123,
    "b": 188
  },
  "hsl": {
    "h": 219.796,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58669,
    "c": 0.10727,
    "h": 263
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#5A7BBC
secondary
#CEC0A4
accent
#A856D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A7BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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