#4F4ACB#4F4ACB

#4F4ACB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.193 H 278.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4F4ACB
RGBrgb(79, 74, 203)
HSLhsl(242, 55%, 54%)
HSVhsv(242, 64%, 80%)
CMYKcmyk(61.1%, 63.5%, 0%, 20.4%)
CIE-LABlab(39.36, 40.01, -66.41)
CIE-LCHlch(39.36, 77.54, 301.07°)
OKLaboklab(49.38% 0.028 -0.1912)
OKLCHoklch(49.38% 0.193 278.3)
XYZxyz(16.4493, 10.8704, 57.7197)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4ACB #C6CB4A
analogous
#4A85CB #4F4ACB #904ACB
triadic
#4F4ACB #CB4F4A #4ACB4F
tetradic
#4F4ACB #CB4A85 #C6CB4A #4ACB90
square
#4F4ACB #CB4A85 #C6CB4A #4ACB90
split-complementary
#4F4ACB #CB904A #85CB4A
monochromatic
#262378 #3530A8 #4F4ACB #7D7AD9 #ABA9E6

Accessibility & contrast

On white

6.62
#4F4ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4F4ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4ACB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4ACB#FFFFFF#000000##FFFFFF
##4F4ACB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f4acb;
/* rgb */ color: rgb(79, 74, 203);
/* oklch */ color: oklch(49.4% 0.193 278.3);
Tailwind
colors: {
  custom: {
    50: '#8d7ddc',
    500: '#4f4acb',
    950: '#000000',
  },
}
SCSS
$custom: #4f4acb;
$custom-light: #8d7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4acb",
  "rgb": {
    "r": 79,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 242.326,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49382,
    "c": 0.19327,
    "h": 278.3
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#4F4ACB
secondary
#D2D49D
accent
#DF49D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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