#6671EB#6671EB

#6671EB is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.3% C 0.182 H 275.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6671EB
RGBrgb(102, 113, 235)
HSLhsl(235, 77%, 66%)
HSVhsv(235, 57%, 92%)
CMYKcmyk(56.6%, 51.9%, 0%, 7.8%)
CIE-LABlab(52.54, 30.68, -63.17)
CIE-LCHlch(52.54, 70.23, 295.91°)
OKLaboklab(60.28% 0.0179 -0.1808)
OKLCHoklch(60.28% 0.182 275.6)
XYZxyz(26.3752, 20.6313, 81.1735)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6671EB #EBE066
analogous
#66B3EB #6671EB #9D66EB
triadic
#6671EB #EB6671 #71EB66
tetradic
#6671EB #EB66B3 #EBE066 #66EB9D
square
#6671EB #EB66B3 #EBE066 #66EB9D
split-complementary
#6671EB #EB9D66 #B3EB66
monochromatic
#1926BE #303FE4 #6671EB #9CA3F2 #D2D5F9

Accessibility & contrast

On white

4.10
#6671EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6671EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6671EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6671EB#FFFFFF#000000##000000
##6671EB1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EF
Deuteranopia (green-blind)
#0578E8
Tritanopia (blue-blind)
#118DA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6671eb;
/* rgb */ color: rgb(102, 113, 235);
/* oklch */ color: oklch(60.3% 0.182 275.6);
Tailwind
colors: {
  custom: {
    50: '#9c99f2',
    500: '#6671eb',
    950: '#000000',
  },
}
SCSS
$custom: #6671eb;
$custom-light: #9c99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6671eb",
  "rgb": {
    "r": 102,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 235.038,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.18167,
    "h": 275.6
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

primary
#6671EB
secondary
#ECE9C1
accent
#C80CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6671EB

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

Preview Lab → · Contrast checker → · Palette generator →

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