#4B64CA#4B64CA

#4B64CA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.160 H 269.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4B64CA
RGBrgb(75, 100, 202)
HSLhsl(228, 55%, 54%)
HSVhsv(228, 63%, 79%)
CMYKcmyk(62.9%, 50.5%, 0%, 20.8%)
CIE-LABlab(45.46, 22.83, -55.96)
CIE-LCHlch(45.46, 60.44, 292.20°)
OKLaboklab(53.83% -0.0002 -0.1603)
OKLCHoklch(53.83% 0.16 269.9)
XYZxyz(18.1159, 14.8729, 57.7817)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64CA #CAB14B
analogous
#4BA4CA #4B64CA #724BCA
triadic
#4B64CA #CA4B64 #64CA4B
tetradic
#4B64CA #CA4BA4 #CAB14B #4BCA72
square
#4B64CA #CA4BA4 #CAB14B #4BCA72
split-complementary
#4B64CA #CA724B #A4CA4B
monochromatic
#233477 #3148A7 #4B64CA #7A8DD8 #AAB5E6

Accessibility & contrast

On white

5.28
#4B64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4B64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64CA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64CA#FFFFFF#000000##FFFFFF
##4B64CA1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#0366C8
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b64ca;
/* rgb */ color: rgb(75, 100, 202);
/* oklch */ color: oklch(53.8% 0.160 269.9);
Tailwind
colors: {
  custom: {
    50: '#898fdb',
    500: '#4b64ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b64ca;
$custom-light: #898fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64ca",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 228.189,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.16035,
    "h": 269.9
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#4B64CA
secondary
#D3C99D
accent
#C14ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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