#4F4CBD#4F4CBD

#4F4CBD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.172 H 279.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4F4CBD
RGBrgb(79, 76, 189)
HSLhsl(242, 46%, 52%)
HSVhsv(242, 60%, 74%)
CMYKcmyk(58.2%, 59.8%, 0%, 25.9%)
CIE-LABlab(38.73, 34.23, -59.28)
CIE-LCHlch(38.73, 68.46, 300.00°)
OKLaboklab(48.58% 0.027 -0.1703)
OKLCHoklch(48.58% 0.172 279)
XYZxyz(14.9913, 10.5042, 49.3718)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CBD #BABD4C
analogous
#4C82BD #4F4CBD #884CBD
triadic
#4F4CBD #BD4F4C #4CBD4F
tetradic
#4F4CBD #BD4C82 #BABD4C #4CBD88
square
#4F4CBD #BD4C82 #BABD4C #4CBD88
split-complementary
#4F4CBD #BD884C #82BD4C
monochromatic
#282668 #393795 #4F4CBD #7B79CD #A7A5DE

Accessibility & contrast

On white

6.77
#4F4CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4F4CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4CBD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4CBD#FFFFFF#000000##FFFFFF
##4F4CBD1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#05677D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f4cbd;
/* rgb */ color: rgb(79, 76, 189);
/* oklch */ color: oklch(48.6% 0.172 279.0);
Tailwind
colors: {
  custom: {
    50: '#8b7ed2',
    500: '#4f4cbd',
    950: '#000000',
  },
}
SCSS
$custom: #4f4cbd;
$custom-light: #8b7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4cbd",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 241.593,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48579,
    "c": 0.17241,
    "h": 279
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#4F4CBD
secondary
#CACB9A
accent
#D652D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F4CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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