#4F64B5#4F64B5

#4F64B5 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.7% C 0.129 H 270.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4F64B5
RGBrgb(79, 100, 181)
HSLhsl(228, 41%, 51%)
HSVhsv(228, 56%, 71%)
CMYKcmyk(56.4%, 44.8%, 0%, 29%)
CIE-LABlab(44.39, 16.45, -45.49)
CIE-LCHlch(44.39, 48.37, 289.88°)
OKLaboklab(52.66% 0.0011 -0.1295)
OKLCHoklch(52.66% 0.129 270.5)
XYZxyz(16.1194, 14.1116, 45.5815)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64B5 #B5A04F
analogous
#4F97B5 #4F64B5 #6D4FB5
triadic
#4F64B5 #B54F64 #64B54F
tetradic
#4F64B5 #B54F97 #B5A04F #4FB56D
square
#4F64B5 #B54F97 #B5A04F #4FB56D
split-complementary
#4F64B5 #B56D4F #97B54F
monochromatic
#293461 #3B4C8C #4F64B5 #7A8AC7 #A5B0D9

Accessibility & contrast

On white

5.49
#4F64B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4F64B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64B5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64B5#FFFFFF#000000##FFFFFF
##4F64B51.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406EB8
Deuteranopia (green-blind)
#3365B3
Tritanopia (blue-blind)
#117684
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f64b5;
/* rgb */ color: rgb(79, 100, 181);
/* oklch */ color: oklch(52.7% 0.129 270.5);
Tailwind
colors: {
  custom: {
    50: '#888fcc',
    500: '#4f64b5',
    950: '#000000',
  },
}
SCSS
$custom: #4f64b5;
$custom-light: #888fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64b5",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 227.647,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.12949,
    "h": 270.5
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#4F64B5
secondary
#C6BD99
accent
#B857D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4F64B5

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

Preview Lab → · Contrast checker → · Palette generator →

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