#4F64CD#4F64CD

#4F64CD is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.3% C 0.163 H 271.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4F64CD
RGBrgb(79, 100, 205)
HSLhsl(230, 56%, 56%)
HSVhsv(230, 61%, 80%)
CMYKcmyk(61.5%, 51.2%, 0%, 19.6%)
CIE-LABlab(45.88, 24.57, -56.99)
CIE-LCHlch(45.88, 62.06, 293.32°)
OKLaboklab(54.28% 0.0041 -0.1633)
OKLCHoklch(54.28% 0.163 271.4)
XYZxyz(18.7974, 15.1828, 59.6858)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64CD #CDB84F
analogous
#4FA3CD #4F64CD #794FCD
triadic
#4F64CD #CD4F64 #64CD4F
tetradic
#4F64CD #CD4FA3 #CDB84F #4FCD79
square
#4F64CD #CD4FA3 #CDB84F #4FCD79
split-complementary
#4F64CD #CD794F #A3CD4F
monochromatic
#24337E #3146AE #4F64CD #7F8EDB #AEB8E8

Accessibility & contrast

On white

5.20
#4F64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4F64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64CD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64CD#FFFFFF#000000##FFFFFF
##4F64CD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f64cd;
/* rgb */ color: rgb(79, 100, 205);
/* oklch */ color: oklch(54.3% 0.163 271.4);
Tailwind
colors: {
  custom: {
    50: '#8c8fdd',
    500: '#4f64cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f64cd;
$custom-light: #8c8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64cd",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 230,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54275,
    "c": 0.16333,
    "h": 271.4
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#4F64CD
secondary
#D6CDA2
accent
#C649DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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