#4B64D9#4B64D9

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

Color values

HEX#4B64D9
RGBrgb(75, 100, 217)
HSLhsl(229, 65%, 57%)
HSVhsv(229, 65%, 85%)
CMYKcmyk(65.4%, 53.9%, 0%, 14.9%)
CIE-LABlab(46.47, 28.03, -62.91)
CIE-LCHlch(46.47, 68.87, 294.01°)
OKLaboklab(54.92% 0.001 -0.1808)
OKLCHoklch(54.92% 0.181 270.3)
XYZxyz(19.9790, 15.6181, 67.5939)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64D9 #D9C04B
analogous
#4BABD9 #4B64D9 #794BD9
triadic
#4B64D9 #D94B64 #64D94B
tetradic
#4B64D9 #D94BAB #D9C04B #4BD979
square
#4B64D9 #D94BAB #D9C04B #4BD979
split-complementary
#4B64D9 #D9794B #ABD94B
monochromatic
#1E318C #2843BF #4B64D9 #7E90E4 #B0BBEE

Accessibility & contrast

On white

5.09
#4B64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4B64D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64D9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64D9#FFFFFF#000000##FFFFFF
##4B64D91.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0975DD
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b64d9;
/* rgb */ color: rgb(75, 100, 217);
/* oklch */ color: oklch(54.9% 0.181 270.3);
Tailwind
colors: {
  custom: {
    50: '#8c8fe5',
    500: '#4b64d9',
    950: '#000000',
  },
}
SCSS
$custom: #4b64d9;
$custom-light: #8c8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64d9",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 229.437,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.18079,
    "h": 270.3
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#4B64D9
secondary
#DDD3A3
accent
#CA40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4B64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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