#5A7BCD#5A7BCD

#5A7BCD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.131 H 266.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5A7BCD
RGBrgb(90, 123, 205)
HSLhsl(223, 53%, 58%)
HSVhsv(223, 56%, 80%)
CMYKcmyk(56.1%, 40%, 0%, 19.6%)
CIE-LABlab(52.67, 12.46, -46.09)
CIE-LCHlch(52.67, 47.75, 285.13°)
OKLaboklab(59.62% -0.0091 -0.1308)
OKLCHoklch(59.62% 0.131 266)
XYZxyz(22.3151, 20.7456, 60.5741)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7BCD #CDAC5A
analogous
#5AB4CD #5A7BCD #735ACD
triadic
#5A7BCD #CD5A7B #7BCD5A
tetradic
#5A7BCD #CD5AB4 #CDAC5A #5ACD73
square
#5A7BCD #CD5AB4 #CDAC5A #5ACD73
split-complementary
#5A7BCD #CD735A #B4CD5A
monochromatic
#284384 #365AB3 #5A7BCD #89A1DB #B8C6E9

Accessibility & contrast

On white

4.08
#5A7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5A7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7BCD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7BCD#FFFFFF#000000##000000
##5A7BCD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#0D8D9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a7bcd;
/* rgb */ color: rgb(90, 123, 205);
/* oklch */ color: oklch(59.6% 0.131 266.0);
Tailwind
colors: {
  custom: {
    50: '#91a0dd',
    500: '#5a7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5a7bcd;
$custom-light: #91a0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7bcd",
  "rgb": {
    "r": 90,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 222.783,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.13112,
    "h": 266
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

primary
#5A7BCD
secondary
#D8CBAA
accent
#B34BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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