#6672EC#6672EC

#6672EC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.5% C 0.182 H 275.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6672EC
RGBrgb(102, 114, 236)
HSLhsl(235, 78%, 66%)
HSVhsv(235, 57%, 93%)
CMYKcmyk(56.8%, 51.7%, 0%, 7.5%)
CIE-LABlab(52.85, 30.40, -63.23)
CIE-LCHlch(52.85, 70.15, 295.68°)
OKLaboklab(60.54% 0.0169 -0.1809)
OKLCHoklch(60.54% 0.182 275.3)
XYZxyz(26.6322, 20.9136, 81.9739)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6672EC #ECE066
analogous
#66B5EC #6672EC #9D66EC
triadic
#6672EC #EC6672 #72EC66
tetradic
#6672EC #EC66B5 #ECE066 #66EC9D
square
#6672EC #EC66B5 #ECE066 #66EC9D
split-complementary
#6672EC #EC9D66 #B5EC66
monochromatic
#1827C0 #3040E5 #6672EC #9CA4F3 #D3D6FA

Accessibility & contrast

On white

4.05
#6672EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6672EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6672EC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6672EC#FFFFFF#000000##000000
##6672EC1.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)
#2C84F0
Deuteranopia (green-blind)
#0879E9
Tritanopia (blue-blind)
#0D8EA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6672ec;
/* rgb */ color: rgb(102, 114, 236);
/* oklch */ color: oklch(60.5% 0.182 275.3);
Tailwind
colors: {
  custom: {
    50: '#9c9af3',
    500: '#6672ec',
    950: '#000000',
  },
}
SCSS
$custom: #6672ec;
$custom-light: #9c9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#6672ec",
  "rgb": {
    "r": 102,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 234.627,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.18174,
    "h": 275.3
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6672EC

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

Preview Lab → · Contrast checker → · Palette generator →

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