#4F46BE#4F46BE

#4F46BE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.181 H 280.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4F46BE
RGBrgb(79, 70, 190)
HSLhsl(245, 48%, 51%)
HSVhsv(245, 63%, 75%)
CMYKcmyk(58.4%, 63.2%, 0%, 25.5%)
CIE-LABlab(37.41, 38.22, -62.03)
CIE-LCHlch(37.41, 72.86, 301.64°)
OKLaboklab(47.63% 0.0326 -0.1784)
OKLCHoklch(47.63% 0.181 280.4)
XYZxyz(14.7059, 9.7593, 49.8140)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46BE #B5BE46
analogous
#4679BE #4F46BE #8B46BE
triadic
#4F46BE #BE4F46 #46BE4F
tetradic
#4F46BE #BE4679 #B5BE46 #46BE8B
square
#4F46BE #BE4679 #B5BE46 #46BE8B
split-complementary
#4F46BE #BE8B46 #79BE46
monochromatic
#292466 #3B3493 #4F46BE #7A73CE #A5A1DE

Accessibility & contrast

On white

7.11
#4F46BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4F46BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F46BE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46BE#FFFFFF#000000##FFFFFF
##4F46BE1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#05647B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f46be;
/* rgb */ color: rgb(79, 70, 190);
/* oklch */ color: oklch(47.6% 0.181 280.4);
Tailwind
colors: {
  custom: {
    50: '#8b7ad2',
    500: '#4f46be',
    950: '#000000',
  },
}
SCSS
$custom: #4f46be;
$custom-light: #8b7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46be",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 244.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47631,
    "c": 0.18132,
    "h": 280.4
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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