#6671EC#6671EC

#6671EC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.183 H 275.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6671EC
RGBrgb(102, 113, 236)
HSLhsl(235, 78%, 66%)
HSVhsv(235, 57%, 93%)
CMYKcmyk(56.8%, 52.1%, 0%, 7.5%)
CIE-LABlab(52.61, 31.00, -63.63)
CIE-LCHlch(52.61, 70.78, 295.98°)
OKLaboklab(60.35% 0.0179 -0.1821)
OKLCHoklch(60.35% 0.183 275.6)
XYZxyz(26.5201, 20.6892, 81.9365)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6671EC #ECE166
analogous
#66B4EC #6671EC #9E66EC
triadic
#6671EC #EC6671 #71EC66
tetradic
#6671EC #EC66B4 #ECE166 #66EC9E
square
#6671EC #EC66B4 #ECE166 #66EC9E
split-complementary
#6671EC #EC9E66 #B4EC66
monochromatic
#1826C0 #303EE5 #6671EC #9CA4F3 #D3D6FA

Accessibility & contrast

On white

4.09
#6671EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6671EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6671EC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6671EC#FFFFFF#000000##000000
##6671EC1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#0D8DA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6671ec;
/* rgb */ color: rgb(102, 113, 236);
/* oklch */ color: oklch(60.4% 0.183 275.6);
Tailwind
colors: {
  custom: {
    50: '#9c99f3',
    500: '#6671ec',
    950: '#000000',
  },
}
SCSS
$custom: #6671ec;
$custom-light: #9c99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6671ec",
  "rgb": {
    "r": 102,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 235.075,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.18301,
    "h": 275.6
  },
  "luminance": 0.20691
}

Semantic roles & 50–950 ramp

primary
#6671EC
secondary
#EDE9C1
accent
#C90BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6671EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6671EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva