#6670ED#6670ED

#6670ED is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.2% C 0.186 H 275.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6670ED
RGBrgb(102, 112, 237)
HSLhsl(236, 79%, 66%)
HSVhsv(236, 57%, 93%)
CMYKcmyk(57%, 52.7%, 0%, 7.1%)
CIE-LABlab(52.43, 31.93, -64.48)
CIE-LCHlch(52.43, 71.95, 296.34°)
OKLaboklab(60.24% 0.019 -0.1846)
OKLCHoklch(60.24% 0.186 275.9)
XYZxyz(26.5548, 20.5256, 82.6669)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670ED #EDE366
analogous
#66B3ED #6670ED #A066ED
triadic
#6670ED #ED6670 #70ED66
tetradic
#6670ED #ED66B3 #EDE366 #66EDA0
square
#6670ED #ED66B3 #EDE366 #66EDA0
split-complementary
#6670ED #EDA066 #B3ED66
monochromatic
#1723C2 #2F3DE7 #6670ED #9DA3F3 #D4D6FA

Accessibility & contrast

On white

4.11
#6670ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#6670ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670ED
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670ED#FFFFFF#000000##000000
##6670ED1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F1
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#0A8DA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6670ed;
/* rgb */ color: rgb(102, 112, 237);
/* oklch */ color: oklch(60.2% 0.186 275.9);
Tailwind
colors: {
  custom: {
    50: '#9c99f4',
    500: '#6670ed',
    950: '#000000',
  },
}
SCSS
$custom: #6670ed;
$custom-light: #9c99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6670ed",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 235.556,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60237,
    "c": 0.18562,
    "h": 275.9
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#6670ED
secondary
#EDEAC2
accent
#CC0ADB
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6670ED

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

Preview Lab → · Contrast checker → · Palette generator →

#6670ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva