#6671EF#6671EF

#6671EF is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.6% C 0.187 H 275.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6671EF
RGBrgb(102, 113, 239)
HSLhsl(235, 81%, 67%)
HSVhsv(235, 57%, 94%)
CMYKcmyk(57.3%, 52.7%, 0%, 6.3%)
CIE-LABlab(52.80, 31.96, -64.99)
CIE-LCHlch(52.80, 72.42, 296.19°)
OKLaboklab(60.56% 0.0181 -0.1861)
OKLCHoklch(60.56% 0.187 275.6)
XYZxyz(26.9596, 20.8651, 84.2513)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6671EF #EFE466
analogous
#66B6EF #6671EF #9F66EF
triadic
#6671EF #EF6671 #71EF66
tetradic
#6671EF #EF66B6 #EFE466 #66EF9F
square
#6671EF #EF66B6 #EFE466 #66EF9F
split-complementary
#6671EF #EF9F66 #B6EF66
monochromatic
#1523C6 #2F3EE9 #6671EF #9DA4F5 #D5D8FB

Accessibility & contrast

On white

4.06
#6671EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6671EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6671EF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6671EF#FFFFFF#000000##000000
##6671EF1.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)
#2384F3
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6671ef;
/* rgb */ color: rgb(102, 113, 239);
/* oklch */ color: oklch(60.6% 0.187 275.6);
Tailwind
colors: {
  custom: {
    50: '#9c99f5',
    500: '#6671ef',
    950: '#000000',
  },
}
SCSS
$custom: #6671ef;
$custom-light: #9c99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6671ef",
  "rgb": {
    "r": 102,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 235.182,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.18702,
    "h": 275.6
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#6671EF
secondary
#EEEBC2
accent
#CC08DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6671EF

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

Preview Lab → · Contrast checker → · Palette generator →

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