#4B64BA#4B64BA

#4B64BA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.138 H 269.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4B64BA
RGBrgb(75, 100, 186)
HSLhsl(226, 45%, 51%)
HSVhsv(226, 60%, 73%)
CMYKcmyk(59.7%, 46.2%, 0%, 27.1%)
CIE-LABlab(44.45, 17.33, -48.32)
CIE-LCHlch(44.45, 51.33, 289.73°)
OKLaboklab(52.74% -0.0022 -0.1379)
OKLCHoklch(52.74% 0.138 269.1)
XYZxyz(16.3188, 14.1540, 48.3169)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64BA #BAA14B
analogous
#4B9BBA #4B64BA #694BBA
triadic
#4B64BA #BA4B64 #64BA4B
tetradic
#4B64BA #BA4B9B #BAA14B #4BBA69
square
#4B64BA #BA4B9B #BAA14B #4BBA69
split-complementary
#4B64BA #BA694B #9BBA4B
monochromatic
#263464 #374B90 #4B64BA #778ACB #A3B0DC

Accessibility & contrast

On white

5.48
#4B64BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4B64BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64BA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64BA#FFFFFF#000000##FFFFFF
##4B64BA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#2A64B8
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b64ba;
/* rgb */ color: rgb(75, 100, 186);
/* oklch */ color: oklch(52.7% 0.138 269.1);
Tailwind
colors: {
  custom: {
    50: '#878fcf',
    500: '#4b64ba',
    950: '#000000',
  },
}
SCSS
$custom: #4b64ba;
$custom-light: #878fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64ba",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 226.486,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.1379,
    "h": 269.1
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#4B64BA
secondary
#C9BE98
accent
#B754D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4B64BA

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

Preview Lab → · Contrast checker → · Palette generator →

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