#4F4DB2#4F4DB2

#4F4DB2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.156 H 279.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4F4DB2
RGBrgb(79, 77, 178)
HSLhsl(241, 40%, 50%)
HSVhsv(241, 57%, 70%)
CMYKcmyk(55.6%, 56.7%, 0%, 30.2%)
CIE-LABlab(38.17, 30.01, -53.73)
CIE-LCHlch(38.17, 61.54, 299.19°)
OKLaboklab(47.91% 0.0261 -0.1539)
OKLCHoklch(47.91% 0.156 279.6)
XYZxyz(13.9117, 10.1835, 43.3434)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DB2 #B0B24D
analogous
#4D7EB2 #4F4DB2 #814DB2
triadic
#4F4DB2 #B24F4D #4DB24F
tetradic
#4F4DB2 #B24D7E #B0B24D #4DB281
square
#4F4DB2 #B24D7E #B0B24D #4DB281
split-complementary
#4F4DB2 #B2814D #7EB24D
monochromatic
#29285D #3C3B87 #4F4DB2 #7978C4 #A3A2D7

Accessibility & contrast

On white

6.92
#4F4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4F4DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4DB2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DB2#FFFFFF#000000##FFFFFF
##4F4DB21.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#1E6478
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4db2;
/* rgb */ color: rgb(79, 77, 178);
/* oklch */ color: oklch(47.9% 0.156 279.6);
Tailwind
colors: {
  custom: {
    50: '#897fca',
    500: '#4f4db2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4db2;
$custom-light: #897fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4db2",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 241.188,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.15612,
    "h": 279.6
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#4F4DB2
secondary
#C3C497
accent
#CF58CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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