#5C7CDB#5C7CDB

#5C7CDB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.8% C 0.149 H 267.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5C7CDB
RGBrgb(92, 124, 219)
HSLhsl(225, 64%, 61%)
HSVhsv(225, 58%, 86%)
CMYKcmyk(58%, 43.4%, 0%, 14.1%)
CIE-LABlab(53.82, 16.85, -52.18)
CIE-LCHlch(53.82, 54.83, 287.90°)
OKLaboklab(60.79% -0.0057 -0.1486)
OKLCHoklch(60.79% 0.149 267.8)
XYZxyz(24.4032, 21.8031, 69.9265)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7CDB #DBBB5C
analogous
#5CBBDB #5C7CDB #7B5CDB
triadic
#5C7CDB #DB5C7C #7CDB5C
tetradic
#5C7CDB #DB5CBB #DBBB5C #5CDB7B
square
#5C7CDB #DB5CBB #DBBB5C #5CDB7B
split-complementary
#5C7CDB #DB7B5C #BBDB5C
monochromatic
#22409A #2D55CD #5C7CDB #8EA4E6 #C0CDF1

Accessibility & contrast

On white

3.92
#5C7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5C7CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7CDB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7CDB#FFFFFF#000000##000000
##5C7CDB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c7cdb;
/* rgb */ color: rgb(92, 124, 219);
/* oklch */ color: oklch(60.8% 0.149 267.8);
Tailwind
colors: {
  custom: {
    50: '#94a1e7',
    500: '#5c7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5c7cdb;
$custom-light: #94a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7cdb",
  "rgb": {
    "r": 92,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 224.882,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60785,
    "c": 0.1487,
    "h": 267.8
  },
  "luminance": 0.21805
}

Semantic roles & 50–950 ramp

primary
#5C7CDB
secondary
#E1D5B1
accent
#9F1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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