#5C7AE3#5C7AE3

#5C7AE3 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.162 H 269.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5C7AE3
RGBrgb(92, 122, 227)
HSLhsl(227, 71%, 63%)
HSVhsv(227, 59%, 89%)
CMYKcmyk(59.5%, 46.3%, 0%, 11%)
CIE-LABlab(53.75, 20.71, -56.78)
CIE-LCHlch(53.75, 60.44, 290.04°)
OKLaboklab(60.88% -0.0024 -0.1621)
OKLCHoklch(60.88% 0.162 269.2)
XYZxyz(25.2336, 21.7384, 75.5243)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7AE3 #E3C55C
analogous
#5CBDE3 #5C7AE3 #825CE3
triadic
#5C7AE3 #E35C7A #7AE35C
tetradic
#5C7AE3 #E35CBD #E3C55C #5CE382
square
#5C7AE3 #E35CBD #E3C55C #5CE382
split-complementary
#5C7AE3 #E3825C #BDE35C
monochromatic
#1D3CA8 #284FDA #5C7AE3 #90A5EC #C4CFF5

Accessibility & contrast

On white

3.93
#5C7AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5C7AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7AE3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7AE3#FFFFFF#000000##000000
##5C7AE31.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E7
Deuteranopia (green-blind)
#327BE1
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c7ae3;
/* rgb */ color: rgb(92, 122, 227);
/* oklch */ color: oklch(60.9% 0.162 269.2);
Tailwind
colors: {
  custom: {
    50: '#95a0ec',
    500: '#5c7ae3',
    950: '#000000',
  },
}
SCSS
$custom: #5c7ae3;
$custom-light: #95a0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7ae3",
  "rgb": {
    "r": 92,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 226.667,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.16216,
    "h": 269.2
  },
  "luminance": 0.2174
}

Semantic roles & 50–950 ramp

primary
#5C7AE3
secondary
#E6DBB5
accent
#A813D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C7AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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