#6672F5#6672F5

#6672F5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.2% C 0.194 H 275.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6672F5
RGBrgb(102, 114, 245)
HSLhsl(235, 88%, 68%)
HSVhsv(235, 58%, 96%)
CMYKcmyk(58.4%, 53.5%, 0%, 3.9%)
CIE-LABlab(53.44, 33.28, -67.30)
CIE-LCHlch(53.44, 75.08, 296.31°)
OKLaboklab(61.16% 0.0174 -0.1929)
OKLCHoklch(61.16% 0.194 275.2)
XYZxyz(27.9729, 21.4499, 89.0347)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6672F5 #F5E966
analogous
#66B9F5 #6672F5 #A166F5
triadic
#6672F5 #F56672 #72F566
tetradic
#6672F5 #F566B9 #F5E966 #66F5A1
square
#6672F5 #F566B9 #F5E966 #66F5A1
split-complementary
#6672F5 #F5A166 #B9F566
monochromatic
#0E1ED3 #2D3DF1 #6672F5 #9FA7F9 #D9DCFD

Accessibility & contrast

On white

3.97
#6672F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6672F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6672F5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6672F5#FFFFFF#000000##000000
##6672F51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A86FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0090A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6672f5;
/* rgb */ color: rgb(102, 114, 245);
/* oklch */ color: oklch(61.2% 0.194 275.2);
Tailwind
colors: {
  custom: {
    50: '#9d9af9',
    500: '#6672f5',
    950: '#000000',
  },
}
SCSS
$custom: #6672f5;
$custom-light: #9d9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#6672f5",
  "rgb": {
    "r": 102,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 234.965,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61162,
    "c": 0.19373,
    "h": 275.2
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#6672F5
secondary
#F1EEC6
accent
#D101E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6672F5

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

Preview Lab → · Contrast checker → · Palette generator →

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