#4F4DAB#4F4DAB

#4F4DAB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.146 H 280.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4F4DAB
RGBrgb(79, 77, 171)
HSLhsl(241, 38%, 49%)
HSVhsv(241, 55%, 67%)
CMYKcmyk(53.8%, 55%, 0%, 32.9%)
CIE-LABlab(37.68, 27.73, -50.37)
CIE-LCHlch(37.68, 57.50, 298.83°)
OKLaboklab(47.39% 0.0259 -0.144)
OKLCHoklch(47.39% 0.146 280.2)
XYZxyz(13.2267, 9.9095, 39.7359)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DAB #A9AB4D
analogous
#4D7AAB #4F4DAB #7E4DAB
triadic
#4F4DAB #AB4F4D #4DAB4F
tetradic
#4F4DAB #AB4D7A #A9AB4D #4DAB7E
square
#4F4DAB #AB4D7A #A9AB4D #4DAB7E
split-complementary
#4F4DAB #AB7E4D #7AAB4D
monochromatic
#282757 #3C3A81 #4F4DAB #7675C1 #A09FD4

Accessibility & contrast

On white

7.04
#4F4DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4F4DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4DAB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DAB#FFFFFF#000000##FFFFFF
##4F4DAB1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135CAE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#266274
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4dab;
/* rgb */ color: rgb(79, 77, 171);
/* oklch */ color: oklch(47.4% 0.146 280.2);
Tailwind
colors: {
  custom: {
    50: '#887fc5',
    500: '#4f4dab',
    950: '#000000',
  },
}
SCSS
$custom: #4f4dab;
$custom-light: #887fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4dab",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 241.277,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47387,
    "c": 0.14636,
    "h": 280.2
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#4F4DAB
secondary
#C0C093
accent
#CE5ACB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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