#4A4FCC#4A4FCC

#4A4FCC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.0% C 0.190 H 275.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4A4FCC
RGBrgb(74, 79, 204)
HSLhsl(238, 56%, 55%)
HSVhsv(238, 64%, 80%)
CMYKcmyk(63.7%, 61.3%, 0%, 20%)
CIE-LABlab(40.26, 36.53, -65.55)
CIE-LCHlch(40.26, 75.04, 299.13°)
OKLaboklab(49.97% 0.0178 -0.1888)
OKLCHoklch(49.97% 0.19 275.4)
XYZxyz(16.5155, 11.4061, 58.4463)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FCC #CCC74A
analogous
#4A90CC #4A4FCC #864ACC
triadic
#4A4FCC #CC4A4F #4FCC4A
tetradic
#4A4FCC #CC4A90 #CCC74A #4ACC86
square
#4A4FCC #CC4A90 #CCC74A #4ACC86
split-complementary
#4A4FCC #CC864A #90CC4A
monochromatic
#222679 #3034A9 #4A4FCC #7A7DD9 #A9ACE7

Accessibility & contrast

On white

6.40
#4A4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4A4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FCC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FCC#FFFFFF#000000##FFFFFF
##4A4FCC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a4fcc;
/* rgb */ color: rgb(74, 79, 204);
/* oklch */ color: oklch(50.0% 0.190 275.4);
Tailwind
colors: {
  custom: {
    50: '#8b80dc',
    500: '#4a4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fcc;
$custom-light: #8b80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fcc",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 237.692,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.18964,
    "h": 275.4
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#4A4FCC
secondary
#D4D29D
accent
#DA48DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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