#5674F3#5674F3

#5674F3 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.5% C 0.193 H 269.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5674F3
RGBrgb(86, 116, 243)
HSLhsl(229, 87%, 65%)
HSVhsv(229, 65%, 95%)
CMYKcmyk(64.6%, 52.3%, 0%, 4.7%)
CIE-LABlab(52.88, 28.73, -67.14)
CIE-LCHlch(52.88, 73.02, 293.17°)
OKLaboklab(60.46% -0.0008 -0.1928)
OKLCHoklch(60.46% 0.193 269.8)
XYZxyz(26.2553, 20.9379, 87.4344)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674F3 #F3D556
analogous
#56C3F3 #5674F3 #8756F3
triadic
#5674F3 #F35674 #74F356
tetradic
#5674F3 #F356C3 #F3D556 #56F387
square
#5674F3 #F356C3 #F3D556 #56F387
split-complementary
#5674F3 #F38756 #C3F356
monochromatic
#0E30C1 #1D45EF #5674F3 #8FA3F7 #C8D2FB

Accessibility & contrast

On white

4.05
#5674F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5674F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674F3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674F3#FFFFFF#000000##000000
##5674F31.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2086F7
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5674f3;
/* rgb */ color: rgb(86, 116, 243);
/* oklch */ color: oklch(60.5% 0.193 269.8);
Tailwind
colors: {
  custom: {
    50: '#959bf8',
    500: '#5674f3',
    950: '#000000',
  },
}
SCSS
$custom: #5674f3;
$custom-light: #959bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5674f3",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 243
  },
  "hsl": {
    "h": 228.535,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.19279,
    "h": 269.8
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5674F3

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

Preview Lab → · Contrast checker → · Palette generator →

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