#5A7CCF#5A7CCF

#5A7CCF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.133 H 265.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5A7CCF
RGBrgb(90, 124, 207)
HSLhsl(223, 55%, 58%)
HSVhsv(223, 57%, 81%)
CMYKcmyk(56.5%, 40.1%, 0%, 18.8%)
CIE-LABlab(53.05, 12.51, -46.63)
CIE-LCHlch(53.05, 48.27, 285.02°)
OKLaboklab(59.95% -0.0098 -0.1323)
OKLCHoklch(59.95% 0.133 265.8)
XYZxyz(22.6828, 21.0922, 61.8953)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7CCF #CFAD5A
analogous
#5AB6CF #5A7CCF #725ACF
triadic
#5A7CCF #CF5A7C #7CCF5A
tetradic
#5A7CCF #CF5AB6 #CFAD5A #5ACF72
square
#5A7CCF #CF5AB6 #CFAD5A #5ACF72
split-complementary
#5A7CCF #CF725A #B6CF5A
monochromatic
#274387 #355BB7 #5A7CCF #89A2DD #B9C7EB

Accessibility & contrast

On white

4.02
#5A7CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5A7CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7CCF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7CCF#FFFFFF#000000##000000
##5A7CCF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4A7ACD
Tritanopia (blue-blind)
#048E9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a7ccf;
/* rgb */ color: rgb(90, 124, 207);
/* oklch */ color: oklch(60.0% 0.133 265.8);
Tailwind
colors: {
  custom: {
    50: '#91a1de',
    500: '#5a7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ccf;
$custom-light: #91a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ccf",
  "rgb": {
    "r": 90,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 222.564,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59952,
    "c": 0.13271,
    "h": 265.8
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#5A7CCF
secondary
#DACCAB
accent
#B34ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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