#4B64D8#4B64D8

#4B64D8 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.179 H 270.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4B64D8
RGBrgb(75, 100, 216)
HSLhsl(229, 64%, 57%)
HSVhsv(229, 65%, 85%)
CMYKcmyk(65.3%, 53.7%, 0%, 15.3%)
CIE-LABlab(46.40, 27.68, -62.45)
CIE-LCHlch(46.40, 68.31, 293.90°)
OKLaboklab(54.84% 0.0009 -0.1794)
OKLCHoklch(54.84% 0.179 270.3)
XYZxyz(19.8493, 15.5663, 66.9110)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64D8 #D8BF4B
analogous
#4BAAD8 #4B64D8 #794BD8
triadic
#4B64D8 #D84B64 #64D84B
tetradic
#4B64D8 #D84BAA #D8BF4B #4BD879
square
#4B64D8 #D84BAA #D8BF4B #4BD879
split-complementary
#4B64D8 #D8794B #AAD84B
monochromatic
#1E318B #2943BD #4B64D8 #7D8FE3 #B0BBEE

Accessibility & contrast

On white

5.11
#4B64D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4B64D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64D8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64D8#FFFFFF#000000##FFFFFF
##4B64D81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D75DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b64d8;
/* rgb */ color: rgb(75, 100, 216);
/* oklch */ color: oklch(54.8% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#8c8fe5',
    500: '#4b64d8',
    950: '#000000',
  },
}
SCSS
$custom: #4b64d8;
$custom-light: #8c8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64d8",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 229.362,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.17945,
    "h": 270.3
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#4B64D8
secondary
#DCD2A3
accent
#CA40E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4B64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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