#4A4FC2#4A4FC2

#4A4FC2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.176 H 275.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4A4FC2
RGBrgb(74, 79, 194)
HSLhsl(238, 50%, 53%)
HSVhsv(238, 62%, 76%)
CMYKcmyk(61.9%, 59.3%, 0%, 23.9%)
CIE-LABlab(39.48, 33.17, -61.00)
CIE-LCHlch(39.48, 69.44, 298.53°)
OKLaboklab(49.16% 0.0181 -0.1754)
OKLCHoklch(49.16% 0.176 275.9)
XYZxyz(15.3545, 10.9416, 52.3313)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FC2 #C2BD4A
analogous
#4A8BC2 #4A4FC2 #814AC2
triadic
#4A4FC2 #C24A4F #4FC24A
tetradic
#4A4FC2 #C24A8B #C2BD4A #4AC281
square
#4A4FC2 #C24A8B #C2BD4A #4AC281
split-complementary
#4A4FC2 #C2814A #8BC24A
monochromatic
#25286D #34389B #4A4FC2 #787CD1 #A6A8E1

Accessibility & contrast

On white

6.59
#4A4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4A4FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FC2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FC2#FFFFFF#000000##FFFFFF
##4A4FC21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a4fc2;
/* rgb */ color: rgb(74, 79, 194);
/* oklch */ color: oklch(49.2% 0.176 275.9);
Tailwind
colors: {
  custom: {
    50: '#8980d5',
    500: '#4a4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fc2;
$custom-light: #8980d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fc2",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 237.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.17638,
    "h": 275.9
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#4A4FC2
secondary
#CECC9A
accent
#D34FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4A4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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