#667FEC#667FEC

#667FEC is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.0% C 0.165 H 271.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#667FEC
RGBrgb(102, 127, 236)
HSLhsl(229, 78%, 66%)
HSVhsv(229, 57%, 93%)
CMYKcmyk(56.8%, 46.2%, 0%, 7.5%)
CIE-LABlab(56.15, 22.53, -57.94)
CIE-LCHlch(56.15, 62.17, 291.25°)
OKLaboklab(63.03% 0.0036 -0.1653)
OKLCHoklch(63.03% 0.165 271.2)
XYZxyz(28.2042, 24.0575, 82.4979)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667FEC #ECD366
analogous
#66C2EC #667FEC #9066EC
triadic
#667FEC #EC667F #7FEC66
tetradic
#667FEC #EC66C2 #ECD366 #66EC90
square
#667FEC #EC66C2 #ECD366 #66EC90
split-complementary
#667FEC #EC9066 #C2EC66
monochromatic
#1837C0 #3051E5 #667FEC #9CADF3 #D3DAFA

Accessibility & contrast

On white

3.61
#667FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#667FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667FEC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667FEC#FFFFFF#000000##000000
##667FEC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#3981EA
Tritanopia (blue-blind)
#0297AA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #667fec;
/* rgb */ color: rgb(102, 127, 236);
/* oklch */ color: oklch(63.0% 0.165 271.2);
Tailwind
colors: {
  custom: {
    50: '#9ba3f3',
    500: '#667fec',
    950: '#000000',
  },
}
SCSS
$custom: #667fec;
$custom-light: #9ba3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#667fec",
  "rgb": {
    "r": 102,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 228.806,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63028,
    "c": 0.16531,
    "h": 271.2
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#667FEC
secondary
#EDE5C1
accent
#B40BDA
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #667FEC

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

Preview Lab → · Contrast checker → · Palette generator →

#667FEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva