#4F4BA5#4F4BA5

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

Color values

HEX#4F4BA5
RGBrgb(79, 75, 165)
HSLhsl(243, 38%, 47%)
HSVhsv(243, 55%, 65%)
CMYKcmyk(52.1%, 54.5%, 0%, 35.3%)
CIE-LABlab(36.76, 27.05, -48.28)
CIE-LCHlch(36.76, 55.34, 299.26°)
OKLaboklab(46.57% 0.0279 -0.1379)
OKLCHoklch(46.57% 0.141 281.4)
XYZxyz(12.5300, 9.4103, 36.7461)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BA5 #A1A54B
analogous
#4B74A5 #4F4BA5 #7C4BA5
triadic
#4F4BA5 #A54F4B #4BA54F
tetradic
#4F4BA5 #A54B74 #A1A54B #4BA57C
square
#4F4BA5 #A54B74 #A1A54B #4BA57C
split-complementary
#4F4BA5 #A57C4B #74A54B
monochromatic
#272551 #3B387B #4F4BA5 #736FBE #9C9AD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4BA5#FFFFFF#000000##FFFFFF
##4F4BA51.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)
#185AA8
Deuteranopia (green-blind)
#0B53A3
Tritanopia (blue-blind)
#2C5F70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f4ba5;
/* rgb */ color: rgb(79, 75, 165);
/* oklch */ color: oklch(46.6% 0.141 281.4);
Tailwind
colors: {
  custom: {
    50: '#877dc0',
    500: '#4f4ba5',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ba5;
$custom-light: #877dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ba5",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 242.667,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46572,
    "c": 0.14069,
    "h": 281.4
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#4F4BA5
secondary
#BBBD8F
accent
#CD5AC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4F4BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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