#5674F4#5674F4

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

Color values

HEX#5674F4
RGBrgb(86, 116, 244)
HSLhsl(229, 88%, 65%)
HSVhsv(229, 65%, 96%)
CMYKcmyk(64.8%, 52.5%, 0%, 4.3%)
CIE-LABlab(52.95, 29.07, -67.58)
CIE-LCHlch(52.95, 73.57, 293.27°)
OKLaboklab(60.53% -0.0007 -0.1941)
OKLCHoklch(60.53% 0.194 269.8)
XYZxyz(26.4067, 20.9985, 88.2319)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674F4 #F4D656
analogous
#56C3F4 #5674F4 #8756F4
triadic
#5674F4 #F45674 #74F456
tetradic
#5674F4 #F456C3 #F4D656 #56F487
square
#5674F4 #F456C3 #F4D656 #56F487
split-complementary
#5674F4 #F48756 #C3F456
monochromatic
#0D2FC3 #1D45F0 #5674F4 #8FA3F8 #C9D3FB

Accessibility & contrast

On white

4.04
#5674F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5674F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674F4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674F4#FFFFFF#000000##000000
##5674F41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E86F8
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5674f4;
/* rgb */ color: rgb(86, 116, 244);
/* oklch */ color: oklch(60.5% 0.194 269.8);
Tailwind
colors: {
  custom: {
    50: '#959bf9',
    500: '#5674f4',
    950: '#000000',
  },
}
SCSS
$custom: #5674f4;
$custom-light: #959bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5674f4",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 228.608,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.19411,
    "h": 269.8
  },
  "luminance": 0.21001
}

Semantic roles & 50–950 ramp

primary
#5674F4
secondary
#EEE4B8
accent
#B901E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5674F4

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

Preview Lab → · Contrast checker → · Palette generator →

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