#4F46C8#4F46C8

#4F46C8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.194 H 279.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4F46C8
RGBrgb(79, 70, 200)
HSLhsl(244, 54%, 53%)
HSVhsv(244, 65%, 78%)
CMYKcmyk(60.5%, 65%, 0%, 21.6%)
CIE-LABlab(38.22, 41.43, -66.54)
CIE-LCHlch(38.22, 78.38, 301.91°)
OKLaboklab(48.48% 0.0317 -0.1916)
OKLCHoklch(48.48% 0.194 279.4)
XYZxyz(15.8366, 10.2115, 55.7689)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46C8 #BFC846
analogous
#467EC8 #4F46C8 #9046C8
triadic
#4F46C8 #C84F46 #46C84F
tetradic
#4F46C8 #C8467E #BFC846 #46C890
square
#4F46C8 #C8467E #BFC846 #46C890
split-complementary
#4F46C8 #C89046 #7EC846
monochromatic
#272272 #3830A1 #4F46C8 #7C75D6 #A9A4E4

Accessibility & contrast

On white

6.90
#4F46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4F46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46C8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46C8#FFFFFF#000000##FFFFFF
##4F46C81.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f46c8;
/* rgb */ color: rgb(79, 70, 200);
/* oklch */ color: oklch(48.5% 0.194 279.4);
Tailwind
colors: {
  custom: {
    50: '#8d7ada',
    500: '#4f46c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f46c8;
$custom-light: #8d7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46c8",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 244.154,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48475,
    "c": 0.19421,
    "h": 279.4
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#4F46C8
secondary
#CDD199
accent
#DE4AD3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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