#6671F5#6671F5

#6671F5 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.0% C 0.195 H 275.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6671F5
RGBrgb(102, 113, 245)
HSLhsl(235, 88%, 68%)
HSVhsv(235, 58%, 96%)
CMYKcmyk(58.4%, 53.9%, 0%, 3.9%)
CIE-LABlab(53.20, 33.88, -67.69)
CIE-LCHlch(53.20, 75.70, 296.59°)
OKLaboklab(60.98% 0.0184 -0.1941)
OKLCHoklch(60.98% 0.195 275.4)
XYZxyz(27.8607, 21.2255, 88.9973)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6671F5 #F5EA66
analogous
#66B8F5 #6671F5 #A366F5
triadic
#6671F5 #F56671 #71F566
tetradic
#6671F5 #F566B8 #F5EA66 #66F5A3
square
#6671F5 #F566B8 #F5EA66 #66F5A3
split-complementary
#6671F5 #F5A366 #B8F566
monochromatic
#0E1DD3 #2D3CF1 #6671F5 #9FA6F9 #D9DCFD

Accessibility & contrast

On white

4.00
#6671F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6671F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6671F5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6671F5#FFFFFF#000000##000000
##6671F51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1485FA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6671f5;
/* rgb */ color: rgb(102, 113, 245);
/* oklch */ color: oklch(61.0% 0.195 275.4);
Tailwind
colors: {
  custom: {
    50: '#9d99f9',
    500: '#6671f5',
    950: '#000000',
  },
}
SCSS
$custom: #6671f5;
$custom-light: #9d99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6671f5",
  "rgb": {
    "r": 102,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 235.385,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.19497,
    "h": 275.4
  },
  "luminance": 0.21228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6671F5

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

Preview Lab → · Contrast checker → · Palette generator →

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