#4F64BD#4F64BD

#4F64BD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.2% C 0.141 H 270.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F64BD
RGBrgb(79, 100, 189)
HSLhsl(229, 45%, 53%)
HSVhsv(229, 58%, 74%)
CMYKcmyk(58.2%, 47.1%, 0%, 25.9%)
CIE-LABlab(44.87, 19.14, -49.38)
CIE-LCHlch(44.87, 52.96, 291.19°)
OKLaboklab(53.18% 0.0023 -0.1409)
OKLCHoklch(53.18% 0.141 270.9)
XYZxyz(16.9639, 14.4494, 50.0293)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64BD #BDA84F
analogous
#4F9BBD #4F64BD #714FBD
triadic
#4F64BD #BD4F64 #64BD4F
tetradic
#4F64BD #BD4F9B #BDA84F #4FBD71
square
#4F64BD #BD4F9B #BDA84F #4FBD71
split-complementary
#4F64BD #BD714F #9BBD4F
monochromatic
#28346A #384A96 #4F64BD #7C8BCE #A8B2DE

Accessibility & contrast

On white

5.40
#4F64BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4F64BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64BD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64BD#FFFFFF#000000##FFFFFF
##4F64BD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FC0
Deuteranopia (green-blind)
#2966BB
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f64bd;
/* rgb */ color: rgb(79, 100, 189);
/* oklch */ color: oklch(53.2% 0.141 270.9);
Tailwind
colors: {
  custom: {
    50: '#898fd1',
    500: '#4f64bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f64bd;
$custom-light: #898fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64bd",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 228.545,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.14094,
    "h": 270.9
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#4F64BD
secondary
#CCC39C
accent
#BC53D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4F64BD

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

Preview Lab → · Contrast checker → · Palette generator →

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