#6674EF#6674EF

#6674EF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.183 H 274.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6674EF
RGBrgb(102, 116, 239)
HSLhsl(234, 81%, 67%)
HSVhsv(234, 57%, 94%)
CMYKcmyk(57.3%, 51.5%, 0%, 6.3%)
CIE-LABlab(53.54, 30.15, -63.80)
CIE-LCHlch(53.54, 70.56, 295.29°)
OKLaboklab(61.12% 0.0151 -0.1826)
OKLCHoklch(61.12% 0.183 274.7)
XYZxyz(27.2998, 21.5455, 84.3647)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6674EF #EFE166
analogous
#66B8EF #6674EF #9D66EF
triadic
#6674EF #EF6674 #74EF66
tetradic
#6674EF #EF66B8 #EFE166 #66EF9D
square
#6674EF #EF66B8 #EFE166 #66EF9D
split-complementary
#6674EF #EF9D66 #B8EF66
monochromatic
#1527C6 #2F42E9 #6674EF #9DA6F5 #D5D9FB

Accessibility & contrast

On white

3.96
#6674EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6674EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6674EF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6674EF#FFFFFF#000000##000000
##6674EF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#087AEC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6674ef;
/* rgb */ color: rgb(102, 116, 239);
/* oklch */ color: oklch(61.1% 0.183 274.7);
Tailwind
colors: {
  custom: {
    50: '#9c9bf5',
    500: '#6674ef',
    950: '#000000',
  },
}
SCSS
$custom: #6674ef;
$custom-light: #9c9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6674ef",
  "rgb": {
    "r": 102,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 233.869,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61116,
    "c": 0.18323,
    "h": 274.7
  },
  "luminance": 0.21548
}

Semantic roles & 50–950 ramp

primary
#6674EF
secondary
#EEEAC2
accent
#C808DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6674EF

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

Preview Lab → · Contrast checker → · Palette generator →

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