#4E64AA#4E64AA

#4E64AA is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.9% C 0.114 H 269.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4E64AA
RGBrgb(78, 100, 170)
HSLhsl(226, 37%, 49%)
HSVhsv(226, 54%, 67%)
CMYKcmyk(54.1%, 41.2%, 0%, 33.3%)
CIE-LABlab(43.71, 12.56, -40.14)
CIE-LCHlch(43.71, 42.06, 287.38°)
OKLaboklab(51.92% -0.0019 -0.1138)
OKLCHoklch(51.92% 0.114 269)
XYZxyz(14.9524, 13.6353, 39.8664)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64AA #AA944E
analogous
#4E92AA #4E64AA #664EAA
triadic
#4E64AA #AA4E64 #64AA4E
tetradic
#4E64AA #AA4E92 #AA944E #4EAA66
square
#4E64AA #AA4E92 #AA944E #4EAA66
split-complementary
#4E64AA #AA664E #92AA4E
monochromatic
#283356 #3B4B80 #4E64AA #7587C0 #9FACD3

Accessibility & contrast

On white

5.63
#4E64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4E64AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64AA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64AA#FFFFFF#000000##FFFFFF
##4E64AA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#3D63A8
Tritanopia (blue-blind)
#1F737F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e64aa;
/* rgb */ color: rgb(78, 100, 170);
/* oklch */ color: oklch(51.9% 0.114 269.0);
Tailwind
colors: {
  custom: {
    50: '#868fc3',
    500: '#4e64aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e64aa;
$custom-light: #868fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64aa",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 225.652,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.11385,
    "h": 269
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#4E64AA
secondary
#C0B594
accent
#B25BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4E64AA

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

Preview Lab → · Contrast checker → · Palette generator →

#4E64AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva