#5C7DF2#5C7DF2

#5C7DF2 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.5% C 0.179 H 268.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5C7DF2
RGBrgb(92, 125, 242)
HSLhsl(227, 85%, 65%)
HSVhsv(227, 62%, 95%)
CMYKcmyk(62%, 48.3%, 0%, 5.1%)
CIE-LABlab(55.43, 23.88, -62.45)
CIE-LCHlch(55.43, 66.86, 290.92°)
OKLaboklab(62.45% -0.0034 -0.1788)
OKLCHoklch(62.45% 0.179 268.9)
XYZxyz(27.7688, 23.3509, 87.0310)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7DF2 #F2D15C
analogous
#5CC8F2 #5C7DF2 #865CF2
triadic
#5C7DF2 #F25C7D #7DF25C
tetradic
#5C7DF2 #F25CC8 #F2D15C #5CF286
square
#5C7DF2 #F25CC8 #F2D15C #5CF286
split-complementary
#5C7DF2 #F2865C #C8F25C
monochromatic
#1037C4 #2350ED #5C7DF2 #95AAF7 #CDD7FB

Accessibility & contrast

On white

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

On black

5.67
#5C7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7DF2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7DF2#FFFFFF#000000##000000
##5C7DF21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#1F7EF0
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5c7df2;
/* rgb */ color: rgb(92, 125, 242);
/* oklch */ color: oklch(62.5% 0.179 268.9);
Tailwind
colors: {
  custom: {
    50: '#97a2f7',
    500: '#5c7df2',
    950: '#000000',
  },
}
SCSS
$custom: #5c7df2;
$custom-light: #97a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7df2",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 226.8,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62453,
    "c": 0.1788,
    "h": 268.9
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#5C7DF2
secondary
#EEE3BC
accent
#B104E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5C7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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