#4F4FE1#4F4FE1

#4F4FE1 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.1% C 0.215 H 275.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4F4FE1
RGBrgb(79, 79, 225)
HSLhsl(240, 71%, 60%)
HSVhsv(240, 65%, 88%)
CMYKcmyk(64.9%, 64.9%, 0%, 11.8%)
CIE-LABlab(42.29, 44.18, -74.25)
CIE-LCHlch(42.29, 86.40, 300.75°)
OKLaboklab(52.08% 0.0222 -0.2142)
OKLCHoklch(52.08% 0.215 275.9)
XYZxyz(19.6066, 12.6888, 72.6355)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FE1 #E1E14F
analogous
#4F98E1 #4F4FE1 #984FE1
triadic
#4F4FE1 #E14F4F #4FE14F
tetradic
#4F4FE1 #E14F98 #E1E14F #4FE198
square
#4F4FE1 #E14F98 #E1E14F #4FE198
split-complementary
#4F4FE1 #E1984F #98E14F
monochromatic
#1A1A9B #2323CF #4F4FE1 #8383EA #B8B8F3

Accessibility & contrast

On white

5.94
#4F4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4F4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FE1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FE1#FFFFFF#000000##FFFFFF
##4F4FE11.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f4fe1;
/* rgb */ color: rgb(79, 79, 225);
/* oklch */ color: oklch(52.1% 0.215 275.9);
Tailwind
colors: {
  custom: {
    50: '#9181ec',
    500: '#4f4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fe1;
$custom-light: #9181ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fe1",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 240,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.21535,
    "h": 275.9
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#4F4FE1
secondary
#E2E2AA
accent
#EE3AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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