#6674E4#6674E4

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

Color values

HEX#6674E4
RGBrgb(102, 116, 228)
HSLhsl(233, 70%, 65%)
HSVhsv(233, 55%, 89%)
CMYKcmyk(55.3%, 49.1%, 0%, 10.6%)
CIE-LABlab(52.86, 26.63, -58.74)
CIE-LCHlch(52.86, 64.50, 294.38°)
OKLaboklab(60.38% 0.0142 -0.1677)
OKLCHoklch(60.38% 0.168 274.8)
XYZxyz(25.7240, 20.9152, 76.0652)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6674E4 #E4D666
analogous
#66B3E4 #6674E4 #9766E4
triadic
#6674E4 #E46674 #74E466
tetradic
#6674E4 #E466B3 #E4D666 #66E497
square
#6674E4 #E466B3 #E4D666 #66E497
split-complementary
#6674E4 #E49766 #B3E466
monochromatic
#1F2FB0 #3245DB #6674E4 #9AA3ED #CED3F6

Accessibility & contrast

On white

4.05
#6674E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6674E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6674E4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6674E4#FFFFFF#000000##000000
##6674E41.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#2979E2
Tritanopia (blue-blind)
#208DA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6674e4;
/* rgb */ color: rgb(102, 116, 228);
/* oklch */ color: oklch(60.4% 0.168 274.8);
Tailwind
colors: {
  custom: {
    50: '#9b9bed',
    500: '#6674e4',
    950: '#000000',
  },
}
SCSS
$custom: #6674e4;
$custom-light: #9b9bed;
$custom-dark: #000000;
JSON
{
  "hex": "#6674e4",
  "rgb": {
    "r": 102,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 233.333,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6038,
    "c": 0.16834,
    "h": 274.8
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#6674E4
secondary
#E9E4BD
accent
#BD14D2
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6674E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6674E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva