#656CEB#656CEB

#656CEB is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.3% C 0.188 H 276.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#656CEB
RGBrgb(101, 108, 235)
HSLhsl(237, 77%, 66%)
HSVhsv(237, 57%, 92%)
CMYKcmyk(57%, 54%, 0%, 7.8%)
CIE-LABlab(51.25, 33.52, -65.26)
CIE-LCHlch(51.25, 73.36, 297.19°)
OKLaboklab(59.3% 0.0217 -0.187)
OKLCHoklch(59.3% 0.188 276.6)
XYZxyz(25.7200, 19.4881, 80.9874)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656CEB #EBE465
analogous
#65AFEB #656CEB #A165EB
triadic
#656CEB #EB656C #6CEB65
tetradic
#656CEB #EB65AF #EBE465 #65EBA1
square
#656CEB #EB65AF #EBE465 #65EBA1
split-complementary
#656CEB #EBA165 #AFEB65
monochromatic
#1921BD #2F38E4 #656CEB #9BA0F2 #D1D3F9

Accessibility & contrast

On white

4.29
#656CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#656CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #656CEB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656CEB#FFFFFF#000000##000000
##656CEB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1580EF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#0B89A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #656ceb;
/* rgb */ color: rgb(101, 108, 235);
/* oklch */ color: oklch(59.3% 0.188 276.6);
Tailwind
colors: {
  custom: {
    50: '#9c96f2',
    500: '#656ceb',
    950: '#000000',
  },
}
SCSS
$custom: #656ceb;
$custom-light: #9c96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#656ceb",
  "rgb": {
    "r": 101,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 236.866,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59301,
    "c": 0.18826,
    "h": 276.6
  },
  "luminance": 0.1949
}

Semantic roles & 50–950 ramp

primary
#656CEB
secondary
#ECEAC0
accent
#CF0CD9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #656CEB

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

Preview Lab → · Contrast checker → · Palette generator →

#656CEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva