#5A7BD3#5A7BD3

#5A7BD3 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.139 H 266.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5A7BD3
RGBrgb(90, 123, 211)
HSLhsl(224, 58%, 59%)
HSVhsv(224, 57%, 83%)
CMYKcmyk(57.3%, 41.7%, 0%, 17.3%)
CIE-LABlab(52.99, 14.43, -48.98)
CIE-LCHlch(52.99, 51.06, 286.41°)
OKLaboklab(59.98% -0.0079 -0.1393)
OKLCHoklch(59.98% 0.139 266.7)
XYZxyz(23.0533, 21.0409, 64.4618)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7BD3 #D3B25A
analogous
#5AB8D3 #5A7BD3 #765AD3
triadic
#5A7BD3 #D35A7B #7BD35A
tetradic
#5A7BD3 #D35AB8 #D3B25A #5AD376
square
#5A7BD3 #D35AB8 #D3B25A #5AD376
split-complementary
#5A7BD3 #D3765A #B8D35A
monochromatic
#26428D #3258BD #5A7BD3 #8AA2E0 #BBC8ED

Accessibility & contrast

On white

4.03
#5A7BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5A7BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7BD3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7BD3#FFFFFF#000000##000000
##5A7BD31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D6
Deuteranopia (green-blind)
#4579D1
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a7bd3;
/* rgb */ color: rgb(90, 123, 211);
/* oklch */ color: oklch(60.0% 0.139 266.7);
Tailwind
colors: {
  custom: {
    50: '#92a0e1',
    500: '#5a7bd3',
    950: '#000000',
  },
}
SCSS
$custom: #5a7bd3;
$custom-light: #92a0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7bd3",
  "rgb": {
    "r": 90,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 223.636,
    "s": 57.895,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59979,
    "c": 0.13949,
    "h": 266.7
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#5A7BD3
secondary
#DCCFAD
accent
#B747E1
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A7BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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