#4F4DA2#4F4DA2

#4F4DA2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.134 H 281.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4F4DA2
RGBrgb(79, 77, 162)
HSLhsl(241, 36%, 47%)
HSVhsv(241, 52%, 64%)
CMYKcmyk(51.2%, 52.5%, 0%, 36.5%)
CIE-LABlab(37.07, 24.81, -45.98)
CIE-LCHlch(37.07, 52.24, 298.35°)
OKLaboklab(46.74% 0.0254 -0.1311)
OKLCHoklch(46.74% 0.134 281)
XYZxyz(12.3979, 9.5780, 35.3709)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DA2 #A0A24D
analogous
#4D76A2 #4F4DA2 #7A4DA2
triadic
#4F4DA2 #A24F4D #4DA24F
tetradic
#4F4DA2 #A24D76 #A0A24D #4DA27A
square
#4F4DA2 #A24D76 #A0A24D #4DA27A
split-complementary
#4F4DA2 #A27A4D #76A24D
monochromatic
#27264F #3B3979 #4F4DA2 #7371BB #9C9ACF

Accessibility & contrast

On white

7.20
#4F4DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4F4DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4DA2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DA2#FFFFFF#000000##FFFFFF
##4F4DA21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#2F6070
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f4da2;
/* rgb */ color: rgb(79, 77, 162);
/* oklch */ color: oklch(46.7% 0.134 281.0);
Tailwind
colors: {
  custom: {
    50: '#867ebe',
    500: '#4f4da2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4da2;
$custom-light: #867ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4da2",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 241.412,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4674,
    "c": 0.13357,
    "h": 281
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#4F4DA2
secondary
#BBBC8F
accent
#CC5CC9
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4F4DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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