#6672EF#6672EF

#6672EF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.186 H 275.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6672EF
RGBrgb(102, 114, 239)
HSLhsl(235, 81%, 67%)
HSVhsv(235, 57%, 94%)
CMYKcmyk(57.3%, 52.3%, 0%, 6.3%)
CIE-LABlab(53.05, 31.36, -64.59)
CIE-LCHlch(53.05, 71.80, 295.89°)
OKLaboklab(60.74% 0.0171 -0.185)
OKLCHoklch(60.74% 0.186 275.3)
XYZxyz(27.0717, 21.0894, 84.2887)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6672EF #EFE366
analogous
#66B6EF #6672EF #9F66EF
triadic
#6672EF #EF6672 #72EF66
tetradic
#6672EF #EF66B6 #EFE366 #66EF9F
square
#6672EF #EF66B6 #EFE366 #66EF9F
split-complementary
#6672EF #EF9F66 #B6EF66
monochromatic
#1524C6 #2F3FE9 #6672EF #9DA5F5 #D5D8FB

Accessibility & contrast

On white

4.02
#6672EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6672EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6672EF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6672EF#FFFFFF#000000##000000
##6672EF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F3
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6672ef;
/* rgb */ color: rgb(102, 114, 239);
/* oklch */ color: oklch(60.7% 0.186 275.3);
Tailwind
colors: {
  custom: {
    50: '#9c9af5',
    500: '#6672ef',
    950: '#000000',
  },
}
SCSS
$custom: #6672ef;
$custom-light: #9c9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#6672ef",
  "rgb": {
    "r": 102,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 234.745,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.18576,
    "h": 275.3
  },
  "luminance": 0.21091
}

Semantic roles & 50–950 ramp

primary
#6672EF
secondary
#EEEAC2
accent
#CB08DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6672EF

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

Preview Lab → · Contrast checker → · Palette generator →

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