#5387F2#5387F2

#5387F2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.170 H 263.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5387F2
RGBrgb(83, 135, 242)
HSLhsl(220, 86%, 64%)
HSVhsv(220, 66%, 95%)
CMYKcmyk(65.7%, 44.2%, 0%, 5.1%)
CIE-LABlab(57.63, 16.31, -58.95)
CIE-LCHlch(57.63, 61.16, 285.47°)
OKLaboklab(64.02% -0.0207 -0.1685)
OKLCHoklch(64.02% 0.17 263)
XYZxyz(28.2526, 25.5750, 87.4347)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5387F2 #F2BE53
analogous
#53D7F2 #5387F2 #6E53F2
triadic
#5387F2 #F25387 #87F253
tetradic
#5387F2 #F253D7 #F2BE53 #53F26E
square
#5387F2 #F253D7 #F2BE53 #53F26E
split-complementary
#5387F2 #F26E53 #D7F253
monochromatic
#0E47BC #1A5FEE #5387F2 #8CAFF6 #C5D6FB

Accessibility & contrast

On white

3.43
#5387F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5387F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5387F2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5387F2#FFFFFF#000000##000000
##5387F21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#3784F0
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5387f2;
/* rgb */ color: rgb(83, 135, 242);
/* oklch */ color: oklch(64.0% 0.170 263.0);
Tailwind
colors: {
  custom: {
    50: '#93a9f7',
    500: '#5387f2',
    950: '#000000',
  },
}
SCSS
$custom: #5387f2;
$custom-light: #93a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5387f2",
  "rgb": {
    "r": 83,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 220.377,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64018,
    "c": 0.16976,
    "h": 263
  },
  "luminance": 0.25578
}

Semantic roles & 50–950 ramp

primary
#5387F2
secondary
#ECDAB4
accent
#9903E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5387F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5387F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva