#5E6CFD#5E6CFD

#5E6CFD is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.2% C 0.213 H 273.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5E6CFD
RGBrgb(94, 108, 253)
HSLhsl(235, 98%, 68%)
HSVhsv(235, 63%, 99%)
CMYKcmyk(62.8%, 57.3%, 0%, 0.8%)
CIE-LABlab(52.06, 38.16, -74.00)
CIE-LCHlch(52.06, 83.27, 297.28°)
OKLaboklab(60.18% 0.0145 -0.2129)
OKLCHoklch(60.18% 0.213 273.9)
XYZxyz(27.7024, 20.1943, 95.3475)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6CFD #FDEF5E
analogous
#5EBBFD #5E6CFD #9F5EFD
triadic
#5E6CFD #FD5E6C #6CFD5E
tetradic
#5E6CFD #FD5EBB #FDEF5E #5EFD9F
square
#5E6CFD #FD5EBB #FDEF5E #5EFD9F
split-complementary
#5E6CFD #FD9F5E #BBFD5E
monochromatic
#0316DE #2235FC #5E6CFD #9AA3FE #D7DAFF

Accessibility & contrast

On white

4.17
#5E6CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5E6CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6CFD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6CFD#FFFFFF#000000##000000
##5E6CFD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#008FAA
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e6cfd;
/* rgb */ color: rgb(94, 108, 253);
/* oklch */ color: oklch(60.2% 0.213 273.9);
Tailwind
colors: {
  custom: {
    50: '#9b96ff',
    500: '#5e6cfd',
    950: '#000000',
  },
}
SCSS
$custom: #5e6cfd;
$custom-light: #9b96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6cfd",
  "rgb": {
    "r": 94,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 234.717,
    "s": 97.546,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.2134,
    "h": 273.9
  },
  "luminance": 0.20197
}

Semantic roles & 50–950 ramp

primary
#5E6CFD
secondary
#F4EFC3
accent
#D100E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5E6CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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