#4F4BA4#4F4BA4

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

Color values

HEX#4F4BA4
RGBrgb(79, 75, 164)
HSLhsl(243, 37%, 47%)
HSVhsv(243, 54%, 64%)
CMYKcmyk(51.8%, 54.3%, 0%, 35.7%)
CIE-LABlab(36.69, 26.72, -47.79)
CIE-LCHlch(36.69, 54.75, 299.22°)
OKLaboklab(46.5% 0.0279 -0.1365)
OKLCHoklch(46.5% 0.139 281.5)
XYZxyz(12.4393, 9.3741, 36.2687)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BA4 #A0A44B
analogous
#4B74A4 #4F4BA4 #7C4BA4
triadic
#4F4BA4 #A44F4B #4BA44F
tetradic
#4F4BA4 #A44B74 #A0A44B #4BA47C
square
#4F4BA4 #A44B74 #A0A44B #4BA47C
split-complementary
#4F4BA4 #A47C4B #74A44B
monochromatic
#272550 #3B387A #4F4BA4 #736FBD #9C99D0

Accessibility & contrast

On white

7.30
#4F4BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4F4BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4BA4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4BA4#FFFFFF#000000##FFFFFF
##4F4BA41.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA7
Deuteranopia (green-blind)
#0F53A2
Tritanopia (blue-blind)
#2D5F70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f4ba4;
/* rgb */ color: rgb(79, 75, 164);
/* oklch */ color: oklch(46.5% 0.139 281.5);
Tailwind
colors: {
  custom: {
    50: '#877dc0',
    500: '#4f4ba4',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ba4;
$custom-light: #877dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ba4",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 164
  },
  "hsl": {
    "h": 242.697,
    "s": 37.238,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46499,
    "c": 0.13927,
    "h": 281.5
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#4F4BA4
secondary
#BBBD8E
accent
#CD5BC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4F4BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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