#4F64CA#4F64CA

#4F64CA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.159 H 271.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4F64CA
RGBrgb(79, 100, 202)
HSLhsl(230, 54%, 55%)
HSVhsv(230, 61%, 79%)
CMYKcmyk(60.9%, 50.5%, 0%, 20.8%)
CIE-LABlab(45.69, 23.55, -55.58)
CIE-LCHlch(45.69, 60.36, 292.96°)
OKLaboklab(54.07% 0.0038 -0.1591)
OKLCHoklch(54.07% 0.159 271.4)
XYZxyz(18.4387, 15.0394, 57.7969)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64CA #CAB54F
analogous
#4FA2CA #4F64CA #774FCA
triadic
#4F64CA #CA4F64 #64CA4F
tetradic
#4F64CA #CA4FA2 #CAB54F #4FCA77
square
#4F64CA #CA4FA2 #CAB54F #4FCA77
split-complementary
#4F64CA #CA774F #A2CA4F
monochromatic
#25337A #3347A9 #4F64CA #7E8DD8 #ADB7E6

Accessibility & contrast

On white

5.24
#4F64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4F64CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64CA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64CA#FFFFFF#000000##FFFFFF
##4F64CA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CE
Deuteranopia (green-blind)
#0C67C8
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f64ca;
/* rgb */ color: rgb(79, 100, 202);
/* oklch */ color: oklch(54.1% 0.159 271.4);
Tailwind
colors: {
  custom: {
    50: '#8b8fdb',
    500: '#4f64ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f64ca;
$custom-light: #8b8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64ca",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 229.756,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.15919,
    "h": 271.4
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#4F64CA
secondary
#D4CBA1
accent
#C44BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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