#6674EA#6674EA

#6674EA is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.176 H 274.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6674EA
RGBrgb(102, 116, 234)
HSLhsl(234, 76%, 66%)
HSVhsv(234, 56%, 92%)
CMYKcmyk(56.4%, 50.4%, 0%, 8.2%)
CIE-LABlab(53.23, 28.55, -61.51)
CIE-LCHlch(53.23, 67.81, 294.89°)
OKLaboklab(60.78% 0.0147 -0.1759)
OKLCHoklch(60.78% 0.177 274.8)
XYZxyz(26.5714, 21.2542, 80.5282)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6674EA #EADC66
analogous
#66B6EA #6674EA #9A66EA
triadic
#6674EA #EA6674 #74EA66
tetradic
#6674EA #EA66B6 #EADC66 #66EA9A
square
#6674EA #EA66B6 #EADC66 #66EA9A
split-complementary
#6674EA #EA9A66 #B6EA66
monochromatic
#1A2BBC #3043E3 #6674EA #9CA5F1 #D2D6F9

Accessibility & contrast

On white

4.00
#6674EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6674EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6674EA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6674EA#FFFFFF#000000##000000
##6674EA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EE
Deuteranopia (green-blind)
#1C7AE8
Tritanopia (blue-blind)
#138FA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6674ea;
/* rgb */ color: rgb(102, 116, 234);
/* oklch */ color: oklch(60.8% 0.176 274.8);
Tailwind
colors: {
  custom: {
    50: '#9c9bf1',
    500: '#6674ea',
    950: '#000000',
  },
}
SCSS
$custom: #6674ea;
$custom-light: #9c9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6674ea",
  "rgb": {
    "r": 102,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 233.636,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60778,
    "c": 0.1765,
    "h": 274.8
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#6674EA
secondary
#ECE7C0
accent
#C30DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6674EA

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

Preview Lab → · Contrast checker → · Palette generator →

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