#6672EA#6672EA

#6672EA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.179 H 275.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6672EA
RGBrgb(102, 114, 234)
HSLhsl(235, 76%, 66%)
HSVhsv(235, 56%, 92%)
CMYKcmyk(56.4%, 51.3%, 0%, 8.2%)
CIE-LABlab(52.73, 29.76, -62.31)
CIE-LCHlch(52.73, 69.05, 295.53°)
OKLaboklab(60.4% 0.0168 -0.1783)
OKLCHoklch(60.4% 0.179 275.4)
XYZxyz(26.3433, 20.7980, 80.4522)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6672EA #EADE66
analogous
#66B4EA #6672EA #9C66EA
triadic
#6672EA #EA6672 #72EA66
tetradic
#6672EA #EA66B4 #EADE66 #66EA9C
square
#6672EA #EA66B4 #EADE66 #66EA9C
split-complementary
#6672EA #EA9C66 #B4EA66
monochromatic
#1A29BC #3040E3 #6672EA #9CA4F1 #D2D5F9

Accessibility & contrast

On white

4.07
#6672EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6672EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6672EA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6672EA#FFFFFF#000000##000000
##6672EA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EE
Deuteranopia (green-blind)
#1278E7
Tritanopia (blue-blind)
#148DA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6672ea;
/* rgb */ color: rgb(102, 114, 234);
/* oklch */ color: oklch(60.4% 0.179 275.4);
Tailwind
colors: {
  custom: {
    50: '#9c9af1',
    500: '#6672ea',
    950: '#000000',
  },
}
SCSS
$custom: #6672ea;
$custom-light: #9c9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#6672ea",
  "rgb": {
    "r": 102,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 234.545,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60402,
    "c": 0.17905,
    "h": 275.4
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

primary
#6672EA
secondary
#ECE8C0
accent
#C60DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6672EA

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

Preview Lab → · Contrast checker → · Palette generator →

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