#5674F2#5674F2

#5674F2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.191 H 269.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5674F2
RGBrgb(86, 116, 242)
HSLhsl(228, 86%, 64%)
HSVhsv(228, 64%, 95%)
CMYKcmyk(64.5%, 52.1%, 0%, 5.1%)
CIE-LABlab(52.82, 28.39, -66.69)
CIE-LCHlch(52.82, 72.48, 293.06°)
OKLaboklab(60.39% -0.0008 -0.1915)
OKLCHoklch(60.39% 0.191 269.7)
XYZxyz(26.1047, 20.8776, 86.6413)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674F2 #F2D456
analogous
#56C2F2 #5674F2 #8656F2
triadic
#5674F2 #F25674 #74F256
tetradic
#5674F2 #F256C2 #F2D456 #56F286
square
#5674F2 #F256C2 #F2D456 #56F286
split-complementary
#5674F2 #F28656 #C2F256
monochromatic
#0F31BF #1D45EE #5674F2 #8FA3F6 #C8D1FB

Accessibility & contrast

On white

4.06
#5674F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5674F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674F2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674F2#FFFFFF#000000##000000
##5674F21.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5674f2;
/* rgb */ color: rgb(86, 116, 242);
/* oklch */ color: oklch(60.4% 0.191 269.7);
Tailwind
colors: {
  custom: {
    50: '#959bf7',
    500: '#5674f2',
    950: '#000000',
  },
}
SCSS
$custom: #5674f2;
$custom-light: #959bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5674f2",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 228.462,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.19147,
    "h": 269.7
  },
  "luminance": 0.2088
}

Semantic roles & 50–950 ramp

primary
#5674F2
secondary
#EDE3B7
accent
#B703E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5674F2

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

Preview Lab → · Contrast checker → · Palette generator →

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