#4F47EA#4F47EA

#4F47EA is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.235 H 276.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4F47EA
RGBrgb(79, 71, 234)
HSLhsl(243, 80%, 60%)
HSVhsv(243, 70%, 92%)
CMYKcmyk(66.2%, 69.7%, 0%, 8.2%)
CIE-LABlab(41.39, 51.64, -80.84)
CIE-LCHlch(41.39, 95.93, 302.57°)
OKLaboklab(51.66% 0.0265 -0.2335)
OKLCHoklch(51.66% 0.235 276.5)
XYZxyz(20.3241, 12.1075, 79.0919)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47EA #E2EA47
analogous
#4790EA #4F47EA #A147EA
triadic
#4F47EA #EA4F47 #47EA4F
tetradic
#4F47EA #EA4790 #E2EA47 #47EAA1
square
#4F47EA #EA4790 #E2EA47 #47EAA1
split-complementary
#4F47EA #EAA147 #90EA47
monochromatic
#1A13A4 #2219DB #4F47EA #847EF0 #B8B5F7

Accessibility & contrast

On white

6.14
#4F47EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4F47EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47EA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47EA#FFFFFF#000000##FFFFFF
##4F47EA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EF
Deuteranopia (green-blind)
#005AE7
Tritanopia (blue-blind)
#007494
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f47ea;
/* rgb */ color: rgb(79, 71, 234);
/* oklch */ color: oklch(51.7% 0.235 276.5);
Tailwind
colors: {
  custom: {
    50: '#937cf2',
    500: '#4f47ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f47ea;
$custom-light: #937cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47ea",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 242.945,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.235,
    "h": 276.5
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#4F47EA
secondary
#E3E6A7
accent
#F632EC
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4F47EA

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

Preview Lab → · Contrast checker → · Palette generator →

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