#4F64DB#4F64DB

#4F64DB is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.182 H 271.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4F64DB
RGBrgb(79, 100, 219)
HSLhsl(231, 66%, 58%)
HSVhsv(231, 64%, 86%)
CMYKcmyk(63.9%, 54.3%, 0%, 14.1%)
CIE-LABlab(46.83, 29.35, -63.45)
CIE-LCHlch(46.83, 69.91, 294.82°)
OKLaboklab(55.29% 0.0051 -0.1823)
OKLCHoklch(55.29% 0.182 271.6)
XYZxyz(20.5635, 15.8893, 68.9874)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64DB #DBC64F
analogous
#4FAADB #4F64DB #804FDB
triadic
#4F64DB #DB4F64 #64DB4F
tetradic
#4F64DB #DB4FAA #DBC64F #4FDB80
square
#4F64DB #DB4FAA #DBC64F #4FDB80
split-complementary
#4F64DB #DB804F #AADB4F
monochromatic
#1E2F92 #2840C5 #4F64DB #8291E5 #B5BDF0

Accessibility & contrast

On white

5.03
#4F64DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4F64DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64DB#FFFFFF#000000##FFFFFF
##4F64DB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0375DF
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f64db;
/* rgb */ color: rgb(79, 100, 219);
/* oklch */ color: oklch(55.3% 0.182 271.6);
Tailwind
colors: {
  custom: {
    50: '#8e8fe7',
    500: '#4f64db',
    950: '#000000',
  },
}
SCSS
$custom: #4f64db;
$custom-light: #8e8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64db",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 231,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55288,
    "c": 0.18238,
    "h": 271.6
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#4F64DB
secondary
#DFD6A7
accent
#CF3FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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