#4B64CD#4B64CD

#4B64CD is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.164 H 270.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4B64CD
RGBrgb(75, 100, 205)
HSLhsl(228, 57%, 55%)
HSVhsv(228, 63%, 80%)
CMYKcmyk(63.4%, 51.2%, 0%, 19.6%)
CIE-LABlab(45.66, 23.87, -57.36)
CIE-LCHlch(45.66, 62.13, 292.59°)
OKLaboklab(54.04% 0.0001 -0.1645)
OKLCHoklch(54.04% 0.164 270)
XYZxyz(18.4745, 15.0164, 59.6706)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64CD #CDB44B
analogous
#4BA5CD #4B64CD #734BCD
triadic
#4B64CD #CD4B64 #64CD4B
tetradic
#4B64CD #CD4BA5 #CDB44B #4BCD73
square
#4B64CD #CD4BA5 #CDB44B #4BCD73
split-complementary
#4B64CD #CD734B #A5CD4B
monochromatic
#22337B #3047AB #4B64CD #7B8DDA #ABB6E8

Accessibility & contrast

On white

5.25
#4B64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4B64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64CD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64CD#FFFFFF#000000##FFFFFF
##4B64CD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b64cd;
/* rgb */ color: rgb(75, 100, 205);
/* oklch */ color: oklch(54.0% 0.164 270.0);
Tailwind
colors: {
  custom: {
    50: '#8a8fdd',
    500: '#4b64cd',
    950: '#000000',
  },
}
SCSS
$custom: #4b64cd;
$custom-light: #8a8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64cd",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 228.462,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.16448,
    "h": 270
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#4B64CD
secondary
#D5CB9F
accent
#C348E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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