#5C7BFE#5C7BFE

#5C7BFE is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.9% C 0.197 H 269.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5C7BFE
RGBrgb(92, 123, 254)
HSLhsl(229, 99%, 68%)
HSVhsv(229, 64%, 100%)
CMYKcmyk(63.8%, 51.6%, 0%, 0.4%)
CIE-LABlab(55.68, 29.11, -68.69)
CIE-LCHlch(55.68, 74.61, 292.96°)
OKLaboklab(62.88% -0.0004 -0.1972)
OKLCHoklch(62.88% 0.197 269.9)
XYZxyz(29.3799, 23.5943, 96.7526)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BFE #FEDF5C
analogous
#5CCCFE #5C7BFE #8E5CFE
triadic
#5C7BFE #FE5C7B #7BFE5C
tetradic
#5C7BFE #FE5CCC #FEDF5C #5CFE8E
square
#5C7BFE #FE5CCC #FEDF5C #5CFE8E
split-complementary
#5C7BFE #FE8E5C #CCFE5C
monochromatic
#012CDE #1F4AFE #5C7BFE #99ACFE #D6DEFF

Accessibility & contrast

On white

3.67
#5C7BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5C7BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BFE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BFE#FFFFFF#000000##000000
##5C7BFE1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#298DFF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#009AB1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5c7bfe;
/* rgb */ color: rgb(92, 123, 254);
/* oklch */ color: oklch(62.9% 0.197 269.9);
Tailwind
colors: {
  custom: {
    50: '#99a0ff',
    500: '#5c7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bfe;
$custom-light: #99a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bfe",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 228.519,
    "s": 98.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62883,
    "c": 0.19716,
    "h": 269.9
  },
  "luminance": 0.23597
}

Semantic roles & 50–950 ramp

primary
#5C7BFE
secondary
#F4EAC2
accent
#BA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5C7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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