#4B64CB#4B64CB

#4B64CB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.162 H 270.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4B64CB
RGBrgb(75, 100, 203)
HSLhsl(228, 55%, 55%)
HSVhsv(228, 63%, 80%)
CMYKcmyk(63.1%, 50.7%, 0%, 20.4%)
CIE-LABlab(45.52, 23.18, -56.43)
CIE-LCHlch(45.52, 61.00, 292.33°)
OKLaboklab(53.9% -0.0001 -0.1617)
OKLCHoklch(53.9% 0.162 270)
XYZxyz(18.2347, 14.9204, 58.4073)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64CB #CBB24B
analogous
#4BA4CB #4B64CB #724BCB
triadic
#4B64CB #CB4B64 #64CB4B
tetradic
#4B64CB #CB4BA4 #CBB24B #4BCB72
square
#4B64CB #CB4BA4 #CBB24B #4BCB72
split-complementary
#4B64CB #CB724B #A4CB4B
monochromatic
#233479 #3148A8 #4B64CB #7A8DD9 #AAB6E6

Accessibility & contrast

On white

5.27
#4B64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4B64CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64CB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64CB#FFFFFF#000000##FFFFFF
##4B64CB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2972CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b64cb;
/* rgb */ color: rgb(75, 100, 203);
/* oklch */ color: oklch(53.9% 0.162 270.0);
Tailwind
colors: {
  custom: {
    50: '#8a8fdb',
    500: '#4b64cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b64cb;
$custom-light: #8a8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64cb",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 228.281,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53902,
    "c": 0.16173,
    "h": 270
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#4B64CB
secondary
#D4C99E
accent
#C149DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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