#4A4FCE#4A4FCE

#4A4FCE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.192 H 275.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4A4FCE
RGBrgb(74, 79, 206)
HSLhsl(238, 57%, 55%)
HSVhsv(238, 64%, 81%)
CMYKcmyk(64.1%, 61.7%, 0%, 19.2%)
CIE-LABlab(40.41, 37.20, -66.44)
CIE-LCHlch(40.41, 76.15, 299.24°)
OKLaboklab(50.14% 0.0177 -0.1914)
OKLCHoklch(50.14% 0.192 275.3)
XYZxyz(16.7569, 11.5026, 59.7177)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FCE #CEC94A
analogous
#4A91CE #4A4FCE #874ACE
triadic
#4A4FCE #CE4A4F #4FCE4A
tetradic
#4A4FCE #CE4A91 #CEC94A #4ACE87
square
#4A4FCE #CE4A91 #CEC94A #4ACE87
split-complementary
#4A4FCE #CE874A #91CE4A
monochromatic
#22257C #2F33AC #4A4FCE #7A7EDB #AAADE8

Accessibility & contrast

On white

6.36
#4A4FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4A4FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FCE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FCE#FFFFFF#000000##FFFFFF
##4A4FCE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a4fce;
/* rgb */ color: rgb(74, 79, 206);
/* oklch */ color: oklch(50.1% 0.192 275.3);
Tailwind
colors: {
  custom: {
    50: '#8b80de',
    500: '#4a4fce',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fce;
$custom-light: #8b80de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fce",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 237.727,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.19225,
    "h": 275.3
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#4A4FCE
secondary
#D6D49E
accent
#DB47E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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