#6673EC#6673EC

#6673EC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.180 H 275.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6673EC
RGBrgb(102, 115, 236)
HSLhsl(234, 78%, 66%)
HSVhsv(234, 57%, 93%)
CMYKcmyk(56.8%, 51.3%, 0%, 7.5%)
CIE-LABlab(53.10, 29.79, -62.83)
CIE-LCHlch(53.10, 69.53, 295.37°)
OKLaboklab(60.72% 0.0159 -0.1798)
OKLCHoklch(60.72% 0.18 275.1)
XYZxyz(26.7456, 21.1404, 82.0117)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6673EC #ECDF66
analogous
#66B6EC #6673EC #9C66EC
triadic
#6673EC #EC6673 #73EC66
tetradic
#6673EC #EC66B6 #ECDF66 #66EC9C
square
#6673EC #EC66B6 #ECDF66 #66EC9C
split-complementary
#6673EC #EC9C66 #B6EC66
monochromatic
#1828C0 #3041E5 #6673EC #9CA5F3 #D3D7FA

Accessibility & contrast

On white

4.02
#6673EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6673EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6673EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6673EC#FFFFFF#000000##000000
##6673EC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#1079E9
Tritanopia (blue-blind)
#0C8FA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6673ec;
/* rgb */ color: rgb(102, 115, 236);
/* oklch */ color: oklch(60.7% 0.180 275.1);
Tailwind
colors: {
  custom: {
    50: '#9c9bf3',
    500: '#6673ec',
    950: '#000000',
  },
}
SCSS
$custom: #6673ec;
$custom-light: #9c9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6673ec",
  "rgb": {
    "r": 102,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 234.179,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60725,
    "c": 0.18046,
    "h": 275.1
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#6673EC
secondary
#EDE9C1
accent
#C60BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6673EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6673EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva