#6672EB#6672EB

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

Color values

HEX#6672EB
RGBrgb(102, 114, 235)
HSLhsl(235, 77%, 66%)
HSVhsv(235, 57%, 92%)
CMYKcmyk(56.6%, 51.5%, 0%, 7.8%)
CIE-LABlab(52.79, 30.08, -62.77)
CIE-LCHlch(52.79, 69.60, 295.60°)
OKLaboklab(60.47% 0.0169 -0.1796)
OKLCHoklch(60.47% 0.18 275.4)
XYZxyz(26.4874, 20.8557, 81.2109)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6672EB #EBDF66
analogous
#66B5EB #6672EB #9C66EB
triadic
#6672EB #EB6672 #72EB66
tetradic
#6672EB #EB66B5 #EBDF66 #66EB9C
square
#6672EB #EB66B5 #EBDF66 #66EB9C
split-complementary
#6672EB #EB9C66 #B5EB66
monochromatic
#1928BE #3040E4 #6672EB #9CA4F2 #D2D6F9

Accessibility & contrast

On white

4.06
#6672EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6672EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6672EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6672EB#FFFFFF#000000##000000
##6672EB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#0E79E8
Tritanopia (blue-blind)
#108EA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6672eb;
/* rgb */ color: rgb(102, 114, 235);
/* oklch */ color: oklch(60.5% 0.180 275.4);
Tailwind
colors: {
  custom: {
    50: '#9c9af2',
    500: '#6672eb',
    950: '#000000',
  },
}
SCSS
$custom: #6672eb;
$custom-light: #9c9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#6672eb",
  "rgb": {
    "r": 102,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 234.586,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.1804,
    "h": 275.4
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6672EB

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

Preview Lab → · Contrast checker → · Palette generator →

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