#4B64BB#4B64BB

#4B64BB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.8% C 0.139 H 269.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4B64BB
RGBrgb(75, 100, 187)
HSLhsl(227, 45%, 51%)
HSVhsv(227, 60%, 73%)
CMYKcmyk(59.9%, 46.5%, 0%, 26.7%)
CIE-LABlab(44.51, 17.67, -48.80)
CIE-LCHlch(44.51, 51.90, 289.90°)
OKLaboklab(52.81% -0.002 -0.1393)
OKLCHoklch(52.81% 0.139 269.2)
XYZxyz(16.4254, 14.1967, 48.8787)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64BB #BBA24B
analogous
#4B9CBB #4B64BB #6A4BBB
triadic
#4B64BB #BB4B64 #64BB4B
tetradic
#4B64BB #BB4B9C #BBA24B #4BBB6A
square
#4B64BB #BB4B9C #BBA24B #4BBB6A
split-complementary
#4B64BB #BB6A4B #9CBB4B
monochromatic
#263465 #374B92 #4B64BB #778ACC #A4B1DD

Accessibility & contrast

On white

5.47
#4B64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4B64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64BB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64BB#FFFFFF#000000##FFFFFF
##4B64BB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#2965B9
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b64bb;
/* rgb */ color: rgb(75, 100, 187);
/* oklch */ color: oklch(52.8% 0.139 269.2);
Tailwind
colors: {
  custom: {
    50: '#878fd0',
    500: '#4b64bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b64bb;
$custom-light: #878fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64bb",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 226.607,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.13933,
    "h": 269.2
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#4B64BB
secondary
#CABF98
accent
#B853D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4B64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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