#5C7AF0#5C7AF0

#5C7AF0 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.180 H 269.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5C7AF0
RGBrgb(92, 122, 240)
HSLhsl(228, 83%, 65%)
HSVhsv(228, 62%, 94%)
CMYKcmyk(61.7%, 49.2%, 0%, 5.9%)
CIE-LABlab(54.54, 25.04, -62.78)
CIE-LCHlch(54.54, 67.59, 291.74°)
OKLaboklab(61.73% -0.0008 -0.1798)
OKLCHoklch(61.73% 0.18 269.7)
XYZxyz(27.0960, 22.4833, 85.3330)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7AF0 #F0D25C
analogous
#5CC4F0 #5C7AF0 #885CF0
triadic
#5C7AF0 #F05C7A #7AF05C
tetradic
#5C7AF0 #F05CC4 #F0D25C #5CF088
square
#5C7AF0 #F05CC4 #F0D25C #5CF088
split-complementary
#5C7AF0 #F0885C #C4F05C
monochromatic
#1235C0 #244CEB #5C7AF0 #94A8F5 #CCD5FA

Accessibility & contrast

On white

3.82
#5C7AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5C7AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7AF0
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7AF0#FFFFFF#000000##000000
##5C7AF01.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F4
Deuteranopia (green-blind)
#167CEE
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c7af0;
/* rgb */ color: rgb(92, 122, 240);
/* oklch */ color: oklch(61.7% 0.180 269.7);
Tailwind
colors: {
  custom: {
    50: '#97a0f6',
    500: '#5c7af0',
    950: '#000000',
  },
}
SCSS
$custom: #5c7af0;
$custom-light: #97a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7af0",
  "rgb": {
    "r": 92,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 227.838,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.17977,
    "h": 269.7
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

primary
#5C7AF0
secondary
#EDE3BB
accent
#B306E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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