#4F46F6#4F46F6

#4F46F6 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.6% C 0.250 H 275.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4F46F6
RGBrgb(79, 70, 246)
HSLhsl(243, 91%, 62%)
HSVhsv(243, 72%, 96%)
CMYKcmyk(67.9%, 71.5%, 0%, 3.5%)
CIE-LABlab(42.30, 55.91, -86.10)
CIE-LCHlch(42.30, 102.66, 303.00°)
OKLaboklab(52.65% 0.0251 -0.2489)
OKLCHoklch(52.65% 0.25 275.8)
XYZxyz(22.0437, 12.6944, 88.4595)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46F6 #EDF646
analogous
#4695F6 #4F46F6 #A746F6
triadic
#4F46F6 #F64F46 #46F64F
tetradic
#4F46F6 #F64695 #EDF646 #46F6A7
square
#4F46F6 #F64695 #EDF646 #46F6A7
split-complementary
#4F46F6 #F6A746 #95F646
monochromatic
#1209B9 #180CF3 #4F46F6 #8780F9 #BEBBFC

Accessibility & contrast

On white

5.93
#4F46F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4F46F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46F6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46F6#FFFFFF#000000##FFFFFF
##4F46F61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFB
Deuteranopia (green-blind)
#005CF3
Tritanopia (blue-blind)
#00789A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f46f6;
/* rgb */ color: rgb(79, 70, 246);
/* oklch */ color: oklch(52.6% 0.250 275.8);
Tailwind
colors: {
  custom: {
    50: '#967cfb',
    500: '#4f46f6',
    950: '#000000',
  },
}
SCSS
$custom: #4f46f6;
$custom-light: #967cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46f6",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 246
  },
  "hsl": {
    "h": 243.068,
    "s": 90.722,
    "l": 61.961
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.25012,
    "h": 275.8
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#4F46F6
secondary
#E9ECAB
accent
#E600DA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4F46F6

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

Preview Lab → · Contrast checker → · Palette generator →

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