#6670EF#6670EF

#6670EF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.188 H 275.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6670EF
RGBrgb(102, 112, 239)
HSLhsl(236, 81%, 67%)
HSVhsv(236, 57%, 94%)
CMYKcmyk(57.3%, 53.1%, 0%, 6.3%)
CIE-LABlab(52.56, 32.57, -65.38)
CIE-LCHlch(52.56, 73.05, 296.48°)
OKLaboklab(60.38% 0.0191 -0.1873)
OKLCHoklch(60.38% 0.188 275.8)
XYZxyz(26.8486, 20.6432, 84.2143)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670EF #EFE566
analogous
#66B5EF #6670EF #A066EF
triadic
#6670EF #EF6670 #70EF66
tetradic
#6670EF #EF66B5 #EFE566 #66EFA0
square
#6670EF #EF66B5 #EFE566 #66EFA0
split-complementary
#6670EF #EFA066 #B5EF66
monochromatic
#1522C6 #2F3CE9 #6670EF #9DA4F5 #D5D8FB

Accessibility & contrast

On white

4.09
#6670EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6670EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670EF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670EF#FFFFFF#000000##000000
##6670EF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F3
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6670ef;
/* rgb */ color: rgb(102, 112, 239);
/* oklch */ color: oklch(60.4% 0.188 275.8);
Tailwind
colors: {
  custom: {
    50: '#9d99f5',
    500: '#6670ef',
    950: '#000000',
  },
}
SCSS
$custom: #6670ef;
$custom-light: #9d99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6670ef",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 235.62,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.18828,
    "h": 275.8
  },
  "luminance": 0.20645
}

Semantic roles & 50–950 ramp

primary
#6670EF
secondary
#EEEBC2
accent
#CE08DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6670EF

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

Preview Lab → · Contrast checker → · Palette generator →

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