#5E87F3#5E87F3

#5E87F3 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.6% C 0.168 H 266.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5E87F3
RGBrgb(94, 135, 243)
HSLhsl(223, 86%, 66%)
HSVhsv(223, 61%, 95%)
CMYKcmyk(61.3%, 44.4%, 0%, 4.7%)
CIE-LABlab(58.20, 18.50, -58.55)
CIE-LCHlch(58.20, 61.41, 287.54°)
OKLaboklab(64.62% -0.0111 -0.1671)
OKLCHoklch(64.62% 0.168 266.2)
XYZxyz(29.4522, 26.1761, 88.2771)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87F3 #F3CA5E
analogous
#5ED1F3 #5E87F3 #7F5EF3
triadic
#5E87F3 #F35E87 #87F35E
tetradic
#5E87F3 #F35ED1 #F3CA5E #5EF37F
square
#5E87F3 #F35ED1 #F3CA5E #5EF37F
split-complementary
#5E87F3 #F37F5E #D1F35E
monochromatic
#0F42C8 #255DEF #5E87F3 #97B1F7 #D0DCFB

Accessibility & contrast

On white

3.37
#5E87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5E87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87F3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87F3#FFFFFF#000000##000000
##5E87F31.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F7
Deuteranopia (green-blind)
#3C86F1
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5e87f3;
/* rgb */ color: rgb(94, 135, 243);
/* oklch */ color: oklch(64.6% 0.168 266.2);
Tailwind
colors: {
  custom: {
    50: '#98a9f8',
    500: '#5e87f3',
    950: '#000000',
  },
}
SCSS
$custom: #5e87f3;
$custom-light: #98a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87f3",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 223.49,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64616,
    "c": 0.16751,
    "h": 266.2
  },
  "luminance": 0.26179
}

Semantic roles & 50–950 ramp

primary
#5E87F3
secondary
#EFE1BE
accent
#A503E3
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5E87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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