#4F4CBB#4F4CBB

#4F4CBB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.170 H 279.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4F4CBB
RGBrgb(79, 76, 187)
HSLhsl(242, 45%, 52%)
HSVhsv(242, 59%, 73%)
CMYKcmyk(57.8%, 59.4%, 0%, 26.7%)
CIE-LABlab(38.58, 33.58, -58.36)
CIE-LCHlch(38.58, 67.33, 299.92°)
OKLaboklab(48.42% 0.0271 -0.1675)
OKLCHoklch(48.42% 0.17 279.2)
XYZxyz(14.7757, 10.4180, 48.2363)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CBB #B8BB4C
analogous
#4C81BB #4F4CBB #874CBB
triadic
#4F4CBB #BB4F4C #4CBB4F
tetradic
#4F4CBB #BB4C81 #B8BB4C #4CBB87
square
#4F4CBB #BB4C81 #B8BB4C #4CBB87
split-complementary
#4F4CBB #BB874C #81BB4C
monochromatic
#282766 #3A3892 #4F4CBB #7B78CC #A6A5DD

Accessibility & contrast

On white

6.81
#4F4CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4F4CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4CBB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4CBB#FFFFFF#000000##FFFFFF
##4F4CBB1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#0C677C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f4cbb;
/* rgb */ color: rgb(79, 76, 187);
/* oklch */ color: oklch(48.4% 0.170 279.2);
Tailwind
colors: {
  custom: {
    50: '#8a7ed0',
    500: '#4f4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #4f4cbb;
$custom-light: #8a7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4cbb",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 241.622,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.16972,
    "h": 279.2
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#4F4CBB
secondary
#C8CA99
accent
#D553D1
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #4F4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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