#4A4FCF#4A4FCF

#4A4FCF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.194 H 275.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4A4FCF
RGBrgb(74, 79, 207)
HSLhsl(238, 58%, 55%)
HSVhsv(238, 64%, 81%)
CMYKcmyk(64.3%, 61.8%, 0%, 18.8%)
CIE-LABlab(40.49, 37.53, -66.89)
CIE-LCHlch(40.49, 76.70, 299.30°)
OKLaboklab(50.22% 0.0177 -0.1927)
OKLCHoklch(50.22% 0.194 275.2)
XYZxyz(16.8788, 11.5514, 60.3595)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FCF #CFCA4A
analogous
#4A92CF #4A4FCF #874ACF
triadic
#4A4FCF #CF4A4F #4FCF4A
tetradic
#4A4FCF #CF4A92 #CFCA4A #4ACF87
square
#4A4FCF #CF4A92 #CFCA4A #4ACF87
split-complementary
#4A4FCF #CF874A #92CF4A
monochromatic
#21257D #2E33AE #4A4FCF #7A7EDC #ABADE9

Accessibility & contrast

On white

6.34
#4A4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4A4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FCF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FCF#FFFFFF#000000##FFFFFF
##4A4FCF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a4fcf;
/* rgb */ color: rgb(74, 79, 207);
/* oklch */ color: oklch(50.2% 0.194 275.2);
Tailwind
colors: {
  custom: {
    50: '#8b80df',
    500: '#4a4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fcf;
$custom-light: #8b80df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fcf",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 237.744,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.19356,
    "h": 275.2
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#4A4FCF
secondary
#D6D49F
accent
#DB46E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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