#5378F2#5378F2

#5378F2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.188 H 267.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5378F2
RGBrgb(83, 120, 242)
HSLhsl(226, 86%, 64%)
HSVhsv(226, 66%, 95%)
CMYKcmyk(65.7%, 50.4%, 0%, 5.1%)
CIE-LABlab(53.69, 25.47, -65.29)
CIE-LCHlch(53.69, 70.08, 291.31°)
OKLaboklab(61.01% -0.0072 -0.1874)
OKLCHoklch(61.01% 0.188 267.8)
XYZxyz(26.3053, 21.6803, 86.7856)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5378F2 #F2CD53
analogous
#53C7F2 #5378F2 #7D53F2
triadic
#5378F2 #F25378 #78F253
tetradic
#5378F2 #F253C7 #F2CD53 #53F27D
square
#5378F2 #F253C7 #F2CD53 #53F27D
split-complementary
#5378F2 #F27D53 #C7F253
monochromatic
#0E37BC #1A4BEE #5378F2 #8CA5F6 #C5D1FB

Accessibility & contrast

On white

3.94
#5378F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5378F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5378F2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5378F2#FFFFFF#000000##000000
##5378F21.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F6
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5378f2;
/* rgb */ color: rgb(83, 120, 242);
/* oklch */ color: oklch(61.0% 0.188 267.8);
Tailwind
colors: {
  custom: {
    50: '#939ef7',
    500: '#5378f2',
    950: '#000000',
  },
}
SCSS
$custom: #5378f2;
$custom-light: #939ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#5378f2",
  "rgb": {
    "r": 83,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 226.038,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61005,
    "c": 0.1875,
    "h": 267.8
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#5378F2
secondary
#ECDFB4
accent
#AE03E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5378F2

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

Preview Lab → · Contrast checker → · Palette generator →

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