#4F46BD#4F46BD

#4F46BD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.180 H 280.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4F46BD
RGBrgb(79, 70, 189)
HSLhsl(245, 47%, 51%)
HSVhsv(245, 63%, 74%)
CMYKcmyk(58.2%, 63%, 0%, 25.9%)
CIE-LABlab(37.33, 37.90, -61.57)
CIE-LCHlch(37.33, 72.30, 301.61°)
OKLaboklab(47.55% 0.0327 -0.177)
OKLCHoklch(47.55% 0.18 280.5)
XYZxyz(14.5970, 9.7157, 49.2404)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46BD #B4BD46
analogous
#4678BD #4F46BD #8A46BD
triadic
#4F46BD #BD4F46 #46BD4F
tetradic
#4F46BD #BD4678 #B4BD46 #46BD8A
square
#4F46BD #BD4678 #B4BD46 #46BD8A
split-complementary
#4F46BD #BD8A46 #78BD46
monochromatic
#292465 #3B3492 #4F46BD #7A73CD #A5A0DD

Accessibility & contrast

On white

7.13
#4F46BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4F46BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F46BD
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46BD#FFFFFF#000000##FFFFFF
##4F46BD1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#08637B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f46bd;
/* rgb */ color: rgb(79, 70, 189);
/* oklch */ color: oklch(47.5% 0.180 280.5);
Tailwind
colors: {
  custom: {
    50: '#8b7ad2',
    500: '#4f46bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f46bd;
$custom-light: #8b7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46bd",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 244.538,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.18002,
    "h": 280.5
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

primary
#4F46BD
secondary
#C6CA95
accent
#D751CD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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