#5374F2#5374F2

#5374F2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.192 H 268.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5374F2
RGBrgb(83, 116, 242)
HSLhsl(228, 86%, 64%)
HSVhsv(228, 66%, 95%)
CMYKcmyk(65.7%, 52.1%, 0%, 5.1%)
CIE-LABlab(52.66, 27.93, -66.94)
CIE-LCHlch(52.66, 72.53, 292.65°)
OKLaboklab(60.23% -0.0037 -0.1923)
OKLCHoklch(60.23% 0.192 268.9)
XYZxyz(25.8342, 20.7382, 86.6286)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5374F2 #F2D153
analogous
#53C3F2 #5374F2 #8153F2
triadic
#5374F2 #F25374 #74F253
tetradic
#5374F2 #F253C3 #F2D153 #53F281
square
#5374F2 #F253C3 #F2D153 #53F281
split-complementary
#5374F2 #F28153 #C3F253
monochromatic
#0E32BC #1A46EE #5374F2 #8CA2F6 #C5D0FB

Accessibility & contrast

On white

4.08
#5374F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5374F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5374F2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5374F2#FFFFFF#000000##000000
##5374F21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F6
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5374f2;
/* rgb */ color: rgb(83, 116, 242);
/* oklch */ color: oklch(60.2% 0.192 268.9);
Tailwind
colors: {
  custom: {
    50: '#939bf7',
    500: '#5374f2',
    950: '#000000',
  },
}
SCSS
$custom: #5374f2;
$custom-light: #939bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5374f2",
  "rgb": {
    "r": 83,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 227.547,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6023,
    "c": 0.19232,
    "h": 268.9
  },
  "luminance": 0.20741
}

Semantic roles & 50–950 ramp

primary
#5374F2
secondary
#ECE1B4
accent
#B403E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5374F2

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

Preview Lab → · Contrast checker → · Palette generator →

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