#6674EB#6674EB

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

Color values

HEX#6674EB
RGBrgb(102, 116, 235)
HSLhsl(234, 77%, 66%)
HSVhsv(234, 57%, 92%)
CMYKcmyk(56.6%, 50.6%, 0%, 7.8%)
CIE-LABlab(53.29, 28.87, -61.97)
CIE-LCHlch(53.29, 68.36, 294.98°)
OKLaboklab(60.85% 0.0148 -0.1772)
OKLCHoklch(60.85% 0.178 274.8)
XYZxyz(26.7154, 21.3118, 81.2869)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6674EB #EBDD66
analogous
#66B6EB #6674EB #9A66EB
triadic
#6674EB #EB6674 #74EB66
tetradic
#6674EB #EB66B6 #EBDD66 #66EB9A
square
#6674EB #EB66B6 #EBDD66 #66EB9A
split-complementary
#6674EB #EB9A66 #B6EB66
monochromatic
#192ABE #3043E4 #6674EB #9CA5F2 #D2D6F9

Accessibility & contrast

On white

3.99
#6674EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6674EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6674EB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6674EB#FFFFFF#000000##000000
##6674EB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#197AE8
Tritanopia (blue-blind)
#0F8FA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6674eb;
/* rgb */ color: rgb(102, 116, 235);
/* oklch */ color: oklch(60.8% 0.178 274.8);
Tailwind
colors: {
  custom: {
    50: '#9c9bf2',
    500: '#6674eb',
    950: '#000000',
  },
}
SCSS
$custom: #6674eb;
$custom-light: #9c9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6674eb",
  "rgb": {
    "r": 102,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 233.684,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60845,
    "c": 0.17785,
    "h": 274.8
  },
  "luminance": 0.21314
}

Semantic roles & 50–950 ramp

primary
#6674EB
secondary
#ECE8C1
accent
#C40CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6674EB

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

Preview Lab → · Contrast checker → · Palette generator →

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