#6670EA#6670EA

#6670EA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.0% C 0.182 H 275.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6670EA
RGBrgb(102, 112, 234)
HSLhsl(235, 76%, 66%)
HSVhsv(235, 56%, 92%)
CMYKcmyk(56.4%, 52.1%, 0%, 8.2%)
CIE-LABlab(52.23, 30.97, -63.11)
CIE-LCHlch(52.23, 70.30, 296.14°)
OKLaboklab(60.03% 0.0188 -0.1806)
OKLCHoklch(60.03% 0.182 275.9)
XYZxyz(26.1202, 20.3518, 80.3778)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670EA #EAE066
analogous
#66B2EA #6670EA #9E66EA
triadic
#6670EA #EA6670 #70EA66
tetradic
#6670EA #EA66B2 #EAE066 #66EA9E
square
#6670EA #EA66B2 #EAE066 #66EA9E
split-complementary
#6670EA #EA9E66 #B2EA66
monochromatic
#1A26BC #303EE3 #6670EA #9CA2F1 #D2D5F9

Accessibility & contrast

On white

4.14
#6670EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6670EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670EA#FFFFFF#000000##000000
##6670EA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#0277E7
Tritanopia (blue-blind)
#158CA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6670ea;
/* rgb */ color: rgb(102, 112, 234);
/* oklch */ color: oklch(60.0% 0.182 275.9);
Tailwind
colors: {
  custom: {
    50: '#9c99f1',
    500: '#6670ea',
    950: '#000000',
  },
}
SCSS
$custom: #6670ea;
$custom-light: #9c99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6670ea",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 235.455,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.18161,
    "h": 275.9
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#6670EA
secondary
#ECE8C0
accent
#C90DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6670EA

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

Preview Lab → · Contrast checker → · Palette generator →

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