#4A4FCD#4A4FCD

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

Color values

HEX#4A4FCD
RGBrgb(74, 79, 205)
HSLhsl(238, 57%, 55%)
HSVhsv(238, 64%, 80%)
CMYKcmyk(63.9%, 61.5%, 0%, 19.6%)
CIE-LABlab(40.34, 36.86, -66.00)
CIE-LCHlch(40.34, 75.59, 299.19°)
OKLaboklab(50.06% 0.0178 -0.1901)
OKLCHoklch(50.06% 0.191 275.3)
XYZxyz(16.6359, 11.4542, 59.0800)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FCD #CDC84A
analogous
#4A91CD #4A4FCD #874ACD
triadic
#4A4FCD #CD4A4F #4FCD4A
tetradic
#4A4FCD #CD4A91 #CDC84A #4ACD87
square
#4A4FCD #CD4A91 #CDC84A #4ACD87
split-complementary
#4A4FCD #CD874A #91CD4A
monochromatic
#22257B #2F34AB #4A4FCD #7A7EDA #AAACE7

Accessibility & contrast

On white

6.38
#4A4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4A4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FCD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FCD#FFFFFF#000000##FFFFFF
##4A4FCD1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a4fcd;
/* rgb */ color: rgb(74, 79, 205);
/* oklch */ color: oklch(50.1% 0.191 275.3);
Tailwind
colors: {
  custom: {
    50: '#8b80dd',
    500: '#4a4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fcd;
$custom-light: #8b80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fcd",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 237.71,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.19095,
    "h": 275.3
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#4A4FCD
secondary
#D5D39E
accent
#DA48E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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