#6164EA#6164EA

#6164EA is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.5% C 0.198 H 277.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6164EA
RGBrgb(97, 100, 234)
HSLhsl(239, 77%, 65%)
HSVhsv(239, 59%, 92%)
CMYKcmyk(58.5%, 57.3%, 0%, 8.2%)
CIE-LABlab(49.00, 37.31, -68.36)
CIE-LCHlch(49.00, 77.88, 298.63°)
OKLaboklab(57.53% 0.0249 -0.1963)
OKLCHoklch(57.53% 0.198 277.2)
XYZxyz(24.3334, 17.5944, 79.9397)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6164EA #EAE761
analogous
#61A9EA #6164EA #A261EA
triadic
#6164EA #EA6164 #64EA61
tetradic
#6164EA #EA61A9 #EAE761 #61EAA2
square
#6164EA #EA61A9 #EAE761 #61EAA2
split-complementary
#6164EA #EAA261 #A9EA61
monochromatic
#181CB8 #2B2FE3 #6164EA #9799F1 #CDCEF8

Accessibility & contrast

On white

4.65
#6164EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6164EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6164EA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6164EA#FFFFFF#000000##FFFFFF
##6164EA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6164ea;
/* rgb */ color: rgb(97, 100, 234);
/* oklch */ color: oklch(57.5% 0.198 277.2);
Tailwind
colors: {
  custom: {
    50: '#9a90f2',
    500: '#6164ea',
    950: '#000000',
  },
}
SCSS
$custom: #6164ea;
$custom-light: #9a90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6164ea",
  "rgb": {
    "r": 97,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 238.686,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57533,
    "c": 0.19786,
    "h": 277.2
  },
  "luminance": 0.17596
}

Semantic roles & 50–950 ramp

primary
#6164EA
secondary
#EBEABC
accent
#D40DD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6164EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6164EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva