#4F4BB2#4F4BB2

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

Color values

HEX#4F4BB2
RGBrgb(79, 75, 178)
HSLhsl(242, 41%, 50%)
HSVhsv(242, 58%, 70%)
CMYKcmyk(55.6%, 57.9%, 0%, 30.2%)
CIE-LABlab(37.68, 31.26, -54.53)
CIE-LCHlch(37.68, 62.85, 299.83°)
OKLaboklab(47.54% 0.0282 -0.1563)
OKLCHoklch(47.54% 0.159 280.2)
XYZxyz(13.7739, 9.9079, 43.2975)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BB2 #AEB24B
analogous
#4B7BB2 #4F4BB2 #834BB2
triadic
#4F4BB2 #B24F4B #4BB24F
tetradic
#4F4BB2 #B24B7B #AEB24B #4BB283
square
#4F4BB2 #B24B7B #AEB24B #4BB283
split-complementary
#4F4BB2 #B2834B #7BB24B
monochromatic
#29275C #3C3987 #4F4BB2 #7875C5 #A2A0D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4BB2#FFFFFF#000000##FFFFFF
##4F4BB21.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)
#005DB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#1E6377
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4bb2;
/* rgb */ color: rgb(79, 75, 178);
/* oklch */ color: oklch(47.5% 0.159 280.2);
Tailwind
colors: {
  custom: {
    50: '#897dca',
    500: '#4f4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4bb2;
$custom-light: #897dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4bb2",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 242.33,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.15881,
    "h": 280.2
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#4F4BB2
secondary
#C2C495
accent
#D157CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4F4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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