#4F64CB#4F64CB

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

Color values

HEX#4F64CB
RGBrgb(79, 100, 203)
HSLhsl(230, 54%, 55%)
HSVhsv(230, 61%, 80%)
CMYKcmyk(61.1%, 50.7%, 0%, 20.4%)
CIE-LABlab(45.75, 23.89, -56.05)
CIE-LCHlch(45.75, 60.93, 293.09°)
OKLaboklab(54.14% 0.0039 -0.1605)
OKLCHoklch(54.14% 0.161 271.4)
XYZxyz(18.5575, 15.0869, 58.4225)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F64CB #CBB64F
analogous
#4FA2CB #4F64CB #784FCB
triadic
#4F64CB #CB4F64 #64CB4F
tetradic
#4F64CB #CB4FA2 #CBB64F #4FCB78
square
#4F64CB #CB4FA2 #CBB64F #4FCB78
split-complementary
#4F64CB #CB784F #A2CB4F
monochromatic
#24337B #3247AA #4F64CB #7E8ED9 #ADB7E7

Accessibility & contrast

On white

5.23
#4F64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4F64CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F64CB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F64CB#FFFFFF#000000##FFFFFF
##4F64CB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#0767C9
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f64cb;
/* rgb */ color: rgb(79, 100, 203);
/* oklch */ color: oklch(54.1% 0.161 271.4);
Tailwind
colors: {
  custom: {
    50: '#8c8fdb',
    500: '#4f64cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f64cb;
$custom-light: #8c8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f64cb",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 229.839,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54135,
    "c": 0.16057,
    "h": 271.4
  },
  "luminance": 0.15088
}

Semantic roles & 50–950 ramp

primary
#4F64CB
secondary
#D5CCA1
accent
#C54ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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