#4B64CE#4B64CE

#4B64CE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.166 H 270.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4B64CE
RGBrgb(75, 100, 206)
HSLhsl(229, 57%, 55%)
HSVhsv(229, 64%, 81%)
CMYKcmyk(63.6%, 51.5%, 0%, 19.2%)
CIE-LABlab(45.72, 24.22, -57.83)
CIE-LCHlch(45.72, 62.70, 292.72°)
OKLaboklab(54.12% 0.0001 -0.1659)
OKLCHoklch(54.12% 0.166 270.1)
XYZxyz(18.5956, 15.0648, 60.3084)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64CE #CEB54B
analogous
#4BA5CE #4B64CE #744BCE
triadic
#4B64CE #CE4B64 #64CE4B
tetradic
#4B64CE #CE4BA5 #CEB54B #4BCE74
square
#4B64CE #CE4BA5 #CEB54B #4BCE74
split-complementary
#4B64CE #CE744B #A5CE4B
monochromatic
#22337D #2F47AD #4B64CE #7B8DDB #ABB7E8

Accessibility & contrast

On white

5.23
#4B64CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4B64CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64CE#FFFFFF#000000##FFFFFF
##4B64CE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2572D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b64ce;
/* rgb */ color: rgb(75, 100, 206);
/* oklch */ color: oklch(54.1% 0.166 270.1);
Tailwind
colors: {
  custom: {
    50: '#8a8fde',
    500: '#4b64ce',
    950: '#000000',
  },
}
SCSS
$custom: #4b64ce;
$custom-light: #8a8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64ce",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 228.55,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.16586,
    "h": 270.1
  },
  "luminance": 0.15066
}

Semantic roles & 50–950 ramp

primary
#4B64CE
secondary
#D6CB9F
accent
#C347E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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