#4A4FE7#4A4FE7

#4A4FE7 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.224 H 274.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4A4FE7
RGBrgb(74, 79, 231)
HSLhsl(238, 77%, 60%)
HSVhsv(238, 68%, 91%)
CMYKcmyk(68%, 65.8%, 0%, 9.4%)
CIE-LABlab(42.48, 45.50, -77.35)
CIE-LCHlch(42.48, 89.75, 300.47°)
OKLaboklab(52.29% 0.0159 -0.2234)
OKLCHoklch(52.29% 0.224 274.1)
XYZxyz(20.0390, 12.8155, 77.0034)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FE7 #E7E24A
analogous
#4A9EE7 #4A4FE7 #934AE7
triadic
#4A4FE7 #E74A4F #4FE74A
tetradic
#4A4FE7 #E74A9E #E7E24A #4AE793
square
#4A4FE7 #E74A9E #E7E24A #4AE793
split-complementary
#4A4FE7 #E7934A #9EE74A
monochromatic
#151AA1 #1D22D7 #4A4FE7 #8084EE #B6B8F5

Accessibility & contrast

On white

5.89
#4A4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4A4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FE7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FE7#FFFFFF#000000##FFFFFF
##4A4FE71.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#005DE4
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a4fe7;
/* rgb */ color: rgb(74, 79, 231);
/* oklch */ color: oklch(52.3% 0.224 274.1);
Tailwind
colors: {
  custom: {
    50: '#9081f0',
    500: '#4a4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fe7;
$custom-light: #9081f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fe7",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 238.089,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.22398,
    "h": 274.1
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

primary
#4A4FE7
secondary
#E5E3A8
accent
#ED35F3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4A4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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