#5C7EE7#5C7EE7

#5C7EE7 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.9% C 0.163 H 267.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5C7EE7
RGBrgb(92, 126, 231)
HSLhsl(225, 74%, 63%)
HSVhsv(225, 60%, 91%)
CMYKcmyk(60.2%, 45.5%, 0%, 9.4%)
CIE-LABlab(55.04, 19.60, -56.96)
CIE-LCHlch(55.04, 60.24, 288.99°)
OKLaboklab(61.94% -0.0058 -0.1626)
OKLCHoklch(61.94% 0.163 267.9)
XYZxyz(26.2934, 22.9643, 78.6328)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7EE7 #E7C55C
analogous
#5CC3E7 #5C7EE7 #7F5CE7
triadic
#5C7EE7 #E75C7E #7EE75C
tetradic
#5C7EE7 #E75CC3 #E7C55C #5CE77F
square
#5C7EE7 #E75CC3 #E7C55C #5CE77F
split-complementary
#5C7EE7 #E77F5C #C3E75C
monochromatic
#1A3EAF #2754DF #5C7EE7 #91A8EF #C7D2F7

Accessibility & contrast

On white

3.75
#5C7EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5C7EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7EE7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7EE7#FFFFFF#000000##000000
##5C7EE71.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AEB
Deuteranopia (green-blind)
#367EE5
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c7ee7;
/* rgb */ color: rgb(92, 126, 231);
/* oklch */ color: oklch(61.9% 0.163 267.9);
Tailwind
colors: {
  custom: {
    50: '#96a2ef',
    500: '#5c7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5c7ee7;
$custom-light: #96a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7ee7",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 225.324,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6194,
    "c": 0.16271,
    "h": 267.9
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

primary
#5C7EE7
secondary
#E8DCB7
accent
#A60FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #5C7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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