#4F46CD#4F46CD

#4F46CD is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.201 H 278.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4F46CD
RGBrgb(79, 70, 205)
HSLhsl(244, 57%, 54%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(61.5%, 65.9%, 0%, 19.6%)
CIE-LABlab(38.64, 43.03, -68.76)
CIE-LCHlch(38.64, 81.11, 302.04°)
OKLaboklab(48.91% 0.0312 -0.1981)
OKLCHoklch(48.91% 0.201 278.9)
XYZxyz(16.4305, 10.4491, 58.8968)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46CD #C4CD46
analogous
#4681CD #4F46CD #9346CD
triadic
#4F46CD #CD4F46 #46CD4F
tetradic
#4F46CD #CD4681 #C4CD46 #46CD93
square
#4F46CD #CD4681 #C4CD46 #46CD93
split-complementary
#4F46CD #CD9346 #81CD46
monochromatic
#262078 #362DA8 #4F46CD #7D76DA #ABA6E7

Accessibility & contrast

On white

6.80
#4F46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4F46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46CD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46CD#FFFFFF#000000##FFFFFF
##4F46CD1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f46cd;
/* rgb */ color: rgb(79, 70, 205);
/* oklch */ color: oklch(48.9% 0.201 278.9);
Tailwind
colors: {
  custom: {
    50: '#8e7add',
    500: '#4f46cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f46cd;
$custom-light: #8e7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46cd",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 244,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48906,
    "c": 0.20055,
    "h": 278.9
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#4F46CD
secondary
#D0D49B
accent
#E147D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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