#4F4BB5#4F4BB5

#4F4BB5 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.163 H 280.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4F4BB5
RGBrgb(79, 75, 181)
HSLhsl(242, 42%, 50%)
HSVhsv(242, 59%, 71%)
CMYKcmyk(56.4%, 58.6%, 0%, 29%)
CIE-LABlab(37.90, 32.24, -55.94)
CIE-LCHlch(37.90, 64.57, 299.96°)
OKLaboklab(47.77% 0.0282 -0.1604)
OKLCHoklch(47.77% 0.163 280)
XYZxyz(14.0784, 10.0297, 44.9012)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BB5 #B1B54B
analogous
#4B7CB5 #4F4BB5 #844BB5
triadic
#4F4BB5 #B54F4B #4BB54F
tetradic
#4F4BB5 #B54B7C #B1B54B #4BB584
square
#4F4BB5 #B54B7C #B1B54B #4BB584
split-complementary
#4F4BB5 #B5844B #7CB54B
monochromatic
#29275F #3C398A #4F4BB5 #7976C7 #A4A2D9

Accessibility & contrast

On white

6.99
#4F4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4F4BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4BB5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4BB5#FFFFFF#000000##FFFFFF
##4F4BB51.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#1A6478
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4bb5;
/* rgb */ color: rgb(79, 75, 181);
/* oklch */ color: oklch(47.8% 0.163 280.0);
Tailwind
colors: {
  custom: {
    50: '#897dcc',
    500: '#4f4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #4f4bb5;
$custom-light: #897dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4bb5",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 242.264,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47773,
    "c": 0.1629,
    "h": 280
  },
  "luminance": 0.10031
}

Semantic roles & 50–950 ramp

primary
#4F4BB5
secondary
#C4C696
accent
#D256CD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4F4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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