#5371F2#5371F2

#5371F2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.196 H 269.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5371F2
RGBrgb(83, 113, 242)
HSLhsl(229, 86%, 64%)
HSVhsv(229, 66%, 95%)
CMYKcmyk(65.7%, 53.3%, 0%, 5.1%)
CIE-LABlab(51.90, 29.77, -68.17)
CIE-LCHlch(51.90, 74.39, 293.59°)
OKLaboklab(59.66% -0.0011 -0.1959)
OKLCHoklch(59.66% 0.196 269.7)
XYZxyz(25.4940, 20.0577, 86.5152)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371F2 #F2D453
analogous
#53C0F2 #5371F2 #8453F2
triadic
#5371F2 #F25371 #71F253
tetradic
#5371F2 #F253C0 #F2D453 #53F284
square
#5371F2 #F253C0 #F2D453 #53F284
split-complementary
#5371F2 #F28453 #C0F253
monochromatic
#0E2FBC #1A42EE #5371F2 #8CA0F6 #C5CFFB

Accessibility & contrast

On white

4.19
#5371F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5371F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371F2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371F2#FFFFFF#000000##000000
##5371F21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1083F6
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5371f2;
/* rgb */ color: rgb(83, 113, 242);
/* oklch */ color: oklch(59.7% 0.196 269.7);
Tailwind
colors: {
  custom: {
    50: '#9499f7',
    500: '#5371f2',
    950: '#000000',
  },
}
SCSS
$custom: #5371f2;
$custom-light: #9499f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5371f2",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 228.679,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59658,
    "c": 0.19594,
    "h": 269.7
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#5371F2
secondary
#ECE2B4
accent
#B803E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5371F2

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

Preview Lab → · Contrast checker → · Palette generator →

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