#6665EB#6665EB

#6665EB is a mid, vivid blue. Relative luminance 0.181; OKLCH L 58.1% C 0.197 H 278.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6665EB
RGBrgb(102, 101, 235)
HSLhsl(240, 77%, 66%)
HSVhsv(240, 57%, 92%)
CMYKcmyk(56.6%, 57%, 0%, 7.8%)
CIE-LABlab(49.65, 37.91, -67.85)
CIE-LCHlch(49.65, 77.72, 299.19°)
OKLaboklab(58.13% 0.0297 -0.1946)
OKLCHoklch(58.13% 0.197 278.7)
XYZxyz(25.1238, 18.1286, 80.7564)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6665EB #EAEB65
analogous
#65A7EB #6665EB #A965EB
triadic
#6665EB #EB6665 #65EB66
tetradic
#6665EB #EB65A7 #EAEB65 #65EBA9
square
#6665EB #EB65A7 #EAEB65 #65EBA9
split-complementary
#6665EB #EBA965 #A7EB65
monochromatic
#1A19BD #302FE4 #6665EB #9C9BF2 #D2D1F9

Accessibility & contrast

On white

4.54
#6665EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6665EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6665EB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6665EB#FFFFFF#000000##000000
##6665EB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#17859E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6665eb;
/* rgb */ color: rgb(102, 101, 235);
/* oklch */ color: oklch(58.1% 0.197 278.7);
Tailwind
colors: {
  custom: {
    50: '#9d91f2',
    500: '#6665eb',
    950: '#000000',
  },
}
SCSS
$custom: #6665eb;
$custom-light: #9d91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6665eb",
  "rgb": {
    "r": 102,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 240.448,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58126,
    "c": 0.1969,
    "h": 278.7
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

primary
#6665EB
secondary
#ECECC0
accent
#D90CD8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6665EB

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

Preview Lab → · Contrast checker → · Palette generator →

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