#4F46CF#4F46CF

#4F46CF is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.203 H 278.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4F46CF
RGBrgb(79, 70, 207)
HSLhsl(244, 59%, 54%)
HSVhsv(244, 66%, 81%)
CMYKcmyk(61.8%, 66.2%, 0%, 18.8%)
CIE-LABlab(38.81, 43.67, -69.64)
CIE-LCHlch(38.81, 82.20, 302.09°)
OKLaboklab(49.08% 0.0309 -0.2007)
OKLCHoklch(49.08% 0.203 278.8)
XYZxyz(16.6735, 10.5463, 60.1764)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46CF #C6CF46
analogous
#4681CF #4F46CF #9446CF
triadic
#4F46CF #CF4F46 #46CF4F
tetradic
#4F46CF #CF4681 #C6CF46 #46CF94
square
#4F46CF #CF4681 #C6CF46 #46CF94
split-complementary
#4F46CF #CF9446 #81CF46
monochromatic
#26207B #352CAB #4F46CF #7D77DC #ABA7E8

Accessibility & contrast

On white

6.75
#4F46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4F46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46CF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46CF#FFFFFF#000000##FFFFFF
##4F46CF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f46cf;
/* rgb */ color: rgb(79, 70, 207);
/* oklch */ color: oklch(49.1% 0.203 278.8);
Tailwind
colors: {
  custom: {
    50: '#8e7adf',
    500: '#4f46cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f46cf;
$custom-light: #8e7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46cf",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 243.942,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49081,
    "c": 0.20307,
    "h": 278.8
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

primary
#4F46CF
secondary
#D2D59B
accent
#E246D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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