#4F4CA1#4F4CA1

#4F4CA1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.134 H 281.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4F4CA1
RGBrgb(79, 76, 161)
HSLhsl(242, 36%, 46%)
HSVhsv(242, 53%, 63%)
CMYKcmyk(50.9%, 52.8%, 0%, 36.9%)
CIE-LABlab(36.75, 25.12, -45.90)
CIE-LCHlch(36.75, 52.33, 298.69°)
OKLaboklab(46.48% 0.0265 -0.1309)
OKLCHoklch(46.48% 0.134 281.4)
XYZxyz(12.2400, 9.4037, 34.8814)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CA1 #9EA14C
analogous
#4C74A1 #4F4CA1 #7A4CA1
triadic
#4F4CA1 #A14F4C #4CA14F
tetradic
#4F4CA1 #A14C74 #9EA14C #4CA17A
square
#4F4CA1 #A14C74 #9EA14C #4CA17A
split-complementary
#4F4CA1 #A17A4C #74A14C
monochromatic
#26254E #3B3877 #4F4CA1 #726FBB #9B99CF

Accessibility & contrast

On white

7.29
#4F4CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4F4CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4CA1
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4CA1#FFFFFF#000000##FFFFFF
##4F4CA11.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#19539F
Tritanopia (blue-blind)
#2F5F6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f4ca1;
/* rgb */ color: rgb(79, 76, 161);
/* oklch */ color: oklch(46.5% 0.134 281.4);
Tailwind
colors: {
  custom: {
    50: '#867ebd',
    500: '#4f4ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ca1;
$custom-light: #867ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ca1",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 242.118,
    "s": 35.865,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.13357,
    "h": 281.4
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#4F4CA1
secondary
#BABB8E
accent
#CC5CC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4F4CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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