#5A7BBD#5A7BBD

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

Color values

HEX#5A7BBD
RGBrgb(90, 123, 189)
HSLhsl(220, 43%, 55%)
HSVhsv(220, 52%, 74%)
CMYKcmyk(52.4%, 34.9%, 0%, 25.9%)
CIE-LABlab(51.85, 7.30, -38.25)
CIE-LCHlch(51.85, 38.94, 280.81°)
OKLaboklab(58.72% -0.0128 -0.1079)
OKLCHoklch(58.72% 0.109 263.2)
XYZxyz(20.4816, 20.0122, 50.9177)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7BBD #BD9C5A
analogous
#5AADBD #5A7BBD #6B5ABD
triadic
#5A7BBD #BD5A7B #7BBD5A
tetradic
#5A7BBD #BD5AAD #BD9C5A #5ABD6B
square
#5A7BBD #BD5AAD #BD9C5A #5ABD6B
split-complementary
#5A7BBD #BD6B5A #ADBD5A
monochromatic
#2D4370 #3E5D9C #5A7BBD #869ECE #B1C1E0

Accessibility & contrast

On white

4.20
#5A7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5A7BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7BBD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7BBD#FFFFFF#000000##000000
##5A7BBD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C0
Deuteranopia (green-blind)
#5677BC
Tritanopia (blue-blind)
#298993
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a7bbd;
/* rgb */ color: rgb(90, 123, 189);
/* oklch */ color: oklch(58.7% 0.109 263.2);
Tailwind
colors: {
  custom: {
    50: '#8fa0d1',
    500: '#5a7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5a7bbd;
$custom-light: #8fa0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7bbd",
  "rgb": {
    "r": 90,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 220,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58723,
    "c": 0.10867,
    "h": 263.2
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#5A7BBD
secondary
#CEC0A5
accent
#A955D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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