#4F4EA2#4F4EA2

#4F4EA2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.132 H 280.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4F4EA2
RGBrgb(79, 78, 162)
HSLhsl(241, 35%, 47%)
HSVhsv(241, 52%, 64%)
CMYKcmyk(51.2%, 51.9%, 0%, 36.5%)
CIE-LABlab(37.33, 24.17, -45.56)
CIE-LCHlch(37.33, 51.58, 297.94°)
OKLaboklab(46.94% 0.0242 -0.1299)
OKLCHoklch(46.94% 0.132 280.6)
XYZxyz(12.4684, 9.7190, 35.3944)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EA2 #A1A24E
analogous
#4E77A2 #4F4EA2 #794EA2
triadic
#4F4EA2 #A24F4E #4EA24F
tetradic
#4F4EA2 #A24E77 #A1A24E #4EA279
square
#4F4EA2 #A24E77 #A1A24E #4EA279
split-complementary
#4F4EA2 #A2794E #77A24E
monochromatic
#27264F #3B3A79 #4F4EA2 #7372BB #9C9BCF

Accessibility & contrast

On white

7.13
#4F4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4F4EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4EA2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EA2#FFFFFF#000000##FFFFFF
##4F4EA21.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#1C55A0
Tritanopia (blue-blind)
#2E6070
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f4ea2;
/* rgb */ color: rgb(79, 78, 162);
/* oklch */ color: oklch(46.9% 0.132 280.6);
Tailwind
colors: {
  custom: {
    50: '#867fbe',
    500: '#4f4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ea2;
$custom-light: #867fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ea2",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 240.714,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46935,
    "c": 0.13214,
    "h": 280.6
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#4F4EA2
secondary
#BBBC90
accent
#CB5DCA
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4F4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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