#5C7FEA#5C7FEA

#5C7FEA is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.3% C 0.166 H 267.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5C7FEA
RGBrgb(92, 127, 234)
HSLhsl(225, 77%, 64%)
HSVhsv(225, 61%, 92%)
CMYKcmyk(60.7%, 45.7%, 0%, 8.2%)
CIE-LABlab(55.47, 19.99, -57.93)
CIE-LCHlch(55.47, 61.29, 289.04°)
OKLaboklab(62.33% -0.0064 -0.1655)
OKLCHoklch(62.33% 0.166 267.8)
XYZxyz(26.8492, 23.3923, 80.9262)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7FEA #EAC75C
analogous
#5CC6EA #5C7FEA #805CEA
triadic
#5C7FEA #EA5C7F #7FEA5C
tetradic
#5C7FEA #EA5CC6 #EAC75C #5CEA80
square
#5C7FEA #EA5CC6 #EAC75C #5CEA80
split-complementary
#5C7FEA #EA805C #C6EA5C
monochromatic
#173EB4 #2654E3 #5C7FEA #92AAF1 #C8D4F8

Accessibility & contrast

On white

3.70
#5C7FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5C7FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7FEA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7FEA#FFFFFF#000000##000000
##5C7FEA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5c7fea;
/* rgb */ color: rgb(92, 127, 234);
/* oklch */ color: oklch(62.3% 0.166 267.8);
Tailwind
colors: {
  custom: {
    50: '#96a3f1',
    500: '#5c7fea',
    950: '#000000',
  },
}
SCSS
$custom: #5c7fea;
$custom-light: #96a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7fea",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 225.211,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62331,
    "c": 0.16558,
    "h": 267.8
  },
  "luminance": 0.23395
}

Semantic roles & 50–950 ramp

primary
#5C7FEA
secondary
#EADEB8
accent
#A70CD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5C7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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