#656AEF#656AEF

#656AEF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.2% C 0.196 H 277.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#656AEF
RGBrgb(101, 106, 239)
HSLhsl(238, 81%, 67%)
HSVhsv(238, 58%, 94%)
CMYKcmyk(57.7%, 55.6%, 0%, 6.3%)
CIE-LABlab(51.04, 36.00, -67.84)
CIE-LCHlch(51.04, 76.80, 297.95°)
OKLaboklab(59.23% 0.0238 -0.1946)
OKLCHoklch(59.23% 0.196 277)
XYZxyz(26.0958, 19.3049, 83.9957)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656AEF #EFEA65
analogous
#65AFEF #656AEF #A565EF
triadic
#656AEF #EF656A #6AEF65
tetradic
#656AEF #EF65AF #EFEA65 #65EFA5
square
#656AEF #EF65AF #EFEA65 #65EFA5
split-complementary
#656AEF #EFA565 #AFEF65
monochromatic
#141BC5 #2E34E9 #656AEF #9CA0F5 #D4D5FB

Accessibility & contrast

On white

4.32
#656AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#656AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #656AEF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656AEF#FFFFFF#000000##000000
##656AEF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#0089A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #656aef;
/* rgb */ color: rgb(101, 106, 239);
/* oklch */ color: oklch(59.2% 0.196 277.0);
Tailwind
colors: {
  custom: {
    50: '#9c94f5',
    500: '#656aef',
    950: '#000000',
  },
}
SCSS
$custom: #656aef;
$custom-light: #9c94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#656aef",
  "rgb": {
    "r": 101,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 237.826,
    "s": 81.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.19606,
    "h": 277
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#656AEF
secondary
#EEEDC2
accent
#D608DE
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #656AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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