#5C7BDF#5C7BDF

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

Color values

HEX#5C7BDF
RGBrgb(92, 123, 223)
HSLhsl(226, 67%, 62%)
HSVhsv(226, 59%, 87%)
CMYKcmyk(58.7%, 44.8%, 0%, 12.5%)
CIE-LABlab(53.78, 18.78, -54.49)
CIE-LCHlch(53.78, 57.64, 289.02°)
OKLaboklab(60.83% -0.004 -0.1554)
OKLCHoklch(60.83% 0.155 268.5)
XYZxyz(24.8114, 21.7669, 72.6917)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BDF #DFC05C
analogous
#5CBCDF #5C7BDF #7F5CDF
triadic
#5C7BDF #DF5C7B #7BDF5C
tetradic
#5C7BDF #DF5CBC #DFC05C #5CDF7F
square
#5C7BDF #DF5CBC #DFC05C #5CDF7F
split-complementary
#5C7BDF #DF7F5C #BCDF5C
monochromatic
#203EA1 #2A52D4 #5C7BDF #8FA4E9 #C2CEF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7BDF#FFFFFF#000000##000000
##5C7BDF1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#397BDD
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c7bdf;
/* rgb */ color: rgb(92, 123, 223);
/* oklch */ color: oklch(60.8% 0.155 268.5);
Tailwind
colors: {
  custom: {
    50: '#94a0e9',
    500: '#5c7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bdf;
$custom-light: #94a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bdf",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 225.802,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.15544,
    "h": 268.5
  },
  "luminance": 0.21769
}

Semantic roles & 50–950 ramp

primary
#5C7BDF
secondary
#E4D8B3
accent
#A316CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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