#5D7FEE#5D7FEE

#5D7FEE is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.6% C 0.171 H 268.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5D7FEE
RGBrgb(93, 127, 238)
HSLhsl(226, 81%, 65%)
HSVhsv(226, 61%, 93%)
CMYKcmyk(60.9%, 46.6%, 0%, 6.7%)
CIE-LABlab(55.76, 21.50, -59.70)
CIE-LCHlch(55.76, 63.45, 289.81°)
OKLaboklab(62.64% -0.0049 -0.1706)
OKLCHoklch(62.64% 0.171 268.4)
XYZxyz(27.5310, 23.6766, 83.9916)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FEE #EECC5D
analogous
#5DC8EE #5D7FEE #835DEE
triadic
#5D7FEE #EE5D7F #7FEE5D
tetradic
#5D7FEE #EE5DC8 #EECC5D #5DEE83
square
#5D7FEE #EE5DC8 #EECC5D #5DEE83
split-complementary
#5D7FEE #EE835D #C8EE5D
monochromatic
#143BBD #2653E8 #5D7FEE #94ABF4 #CCD7FA

Accessibility & contrast

On white

3.66
#5D7FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5D7FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FEE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FEE#FFFFFF#000000##000000
##5D7FEE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF2
Deuteranopia (green-blind)
#2F7FEC
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d7fee;
/* rgb */ color: rgb(93, 127, 238);
/* oklch */ color: oklch(62.6% 0.171 268.4);
Tailwind
colors: {
  custom: {
    50: '#97a3f4',
    500: '#5d7fee',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fee;
$custom-light: #97a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fee",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 225.931,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62642,
    "c": 0.17069,
    "h": 268.4
  },
  "luminance": 0.23679
}

Semantic roles & 50–950 ramp

primary
#5D7FEE
secondary
#ECE1BB
accent
#AB08DD
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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