#4E64B8#4E64B8

#4E64B8 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.8% C 0.134 H 270.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4E64B8
RGBrgb(78, 100, 184)
HSLhsl(228, 43%, 51%)
HSVhsv(228, 58%, 72%)
CMYKcmyk(57.6%, 45.7%, 0%, 27.8%)
CIE-LABlab(44.51, 17.25, -47.06)
CIE-LCHlch(44.51, 50.12, 290.13°)
OKLaboklab(52.79% 0.0006 -0.1341)
OKLCHoklch(52.79% 0.134 270.2)
XYZxyz(16.3479, 14.1935, 47.2162)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64B8 #B8A24E
analogous
#4E99B8 #4E64B8 #6D4EB8
triadic
#4E64B8 #B84E64 #64B84E
tetradic
#4E64B8 #B84E99 #B8A24E #4EB86D
square
#4E64B8 #B84E99 #B8A24E #4EB86D
split-complementary
#4E64B8 #B86D4E #99B84E
monochromatic
#283464 #394B8F #4E64B8 #7A8ACA #A5B1DB

Accessibility & contrast

On white

5.47
#4E64B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4E64B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64B8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64B8#FFFFFF#000000##FFFFFF
##4E64B81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBB
Deuteranopia (green-blind)
#2F65B6
Tritanopia (blue-blind)
#017785
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e64b8;
/* rgb */ color: rgb(78, 100, 184);
/* oklch */ color: oklch(52.8% 0.134 270.2);
Tailwind
colors: {
  custom: {
    50: '#888fce',
    500: '#4e64b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e64b8;
$custom-light: #888fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64b8",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 184
  },
  "hsl": {
    "h": 227.547,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.13411,
    "h": 270.2
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#4E64B8
secondary
#C8BF9A
accent
#B955D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E64B8

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

Preview Lab → · Contrast checker → · Palette generator →

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