#6670EB#6670EB

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

Color values

HEX#6670EB
RGBrgb(102, 112, 235)
HSLhsl(235, 77%, 66%)
HSVhsv(235, 57%, 92%)
CMYKcmyk(56.6%, 52.3%, 0%, 7.8%)
CIE-LABlab(52.30, 31.29, -63.57)
CIE-LCHlch(52.30, 70.85, 296.21°)
OKLaboklab(60.1% 0.0189 -0.182)
OKLCHoklch(60.1% 0.183 275.9)
XYZxyz(26.2642, 20.4094, 81.1365)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670EB #EBE166
analogous
#66B2EB #6670EB #9E66EB
triadic
#6670EB #EB6670 #70EB66
tetradic
#6670EB #EB66B2 #EBE166 #66EB9E
square
#6670EB #EB66B2 #EBE166 #66EB9E
split-complementary
#6670EB #EB9E66 #B2EB66
monochromatic
#1925BE #303DE4 #6670EB #9CA3F2 #D2D5F9

Accessibility & contrast

On white

4.13
#6670EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6670EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670EB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670EB#FFFFFF#000000##000000
##6670EB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#128CA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6670eb;
/* rgb */ color: rgb(102, 112, 235);
/* oklch */ color: oklch(60.1% 0.183 275.9);
Tailwind
colors: {
  custom: {
    50: '#9c99f2',
    500: '#6670eb',
    950: '#000000',
  },
}
SCSS
$custom: #6670eb;
$custom-light: #9c99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6670eb",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 235.489,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60099,
    "c": 0.18295,
    "h": 275.9
  },
  "luminance": 0.20411
}

Semantic roles & 50–950 ramp

primary
#6670EB
secondary
#ECE9C1
accent
#CA0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6670EB

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

Preview Lab → · Contrast checker → · Palette generator →

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