#5370F2#5370F2

#5370F2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.5% C 0.197 H 269.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5370F2
RGBrgb(83, 112, 242)
HSLhsl(229, 86%, 64%)
HSVhsv(229, 66%, 95%)
CMYKcmyk(65.7%, 53.7%, 0%, 5.1%)
CIE-LABlab(51.65, 30.39, -68.58)
CIE-LCHlch(51.65, 75.01, 293.90°)
OKLaboklab(59.47% -0.0002 -0.1971)
OKLCHoklch(59.47% 0.197 269.9)
XYZxyz(25.3830, 19.8358, 86.4782)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370F2 #F2D553
analogous
#53BFF2 #5370F2 #8553F2
triadic
#5370F2 #F25370 #70F253
tetradic
#5370F2 #F253BF #F2D553 #53F285
square
#5370F2 #F253BF #F2D553 #53F285
split-complementary
#5370F2 #F28553 #BFF253
monochromatic
#0E2EBC #1A41EE #5370F2 #8C9FF6 #C5CFFB

Accessibility & contrast

On white

4.23
#5370F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5370F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370F2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370F2#FFFFFF#000000##000000
##5370F21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0683F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5370f2;
/* rgb */ color: rgb(83, 112, 242);
/* oklch */ color: oklch(59.5% 0.197 269.9);
Tailwind
colors: {
  custom: {
    50: '#9498f7',
    500: '#5370f2',
    950: '#000000',
  },
}
SCSS
$custom: #5370f2;
$custom-light: #9498f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5370f2",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 229.057,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.19715,
    "h": 269.9
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#5370F2
secondary
#ECE2B4
accent
#BA03E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5370F2

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

Preview Lab → · Contrast checker → · Palette generator →

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