#4A4FD2#4A4FD2

#4A4FD2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.197 H 275.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4A4FD2
RGBrgb(74, 79, 210)
HSLhsl(238, 60%, 56%)
HSVhsv(238, 65%, 82%)
CMYKcmyk(64.8%, 62.4%, 0%, 17.6%)
CIE-LABlab(40.73, 38.54, -68.23)
CIE-LCHlch(40.73, 78.36, 299.46°)
OKLaboklab(50.47% 0.0175 -0.1967)
OKLCHoklch(50.47% 0.197 275.1)
XYZxyz(17.2491, 11.6995, 62.3095)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FD2 #D2CD4A
analogous
#4A93D2 #4A4FD2 #894AD2
triadic
#4A4FD2 #D24A4F #4FD24A
tetradic
#4A4FD2 #D24A93 #D2CD4A #4AD289
square
#4A4FD2 #D24A93 #D2CD4A #4AD289
split-complementary
#4A4FD2 #D2894A #93D24A
monochromatic
#202481 #2C31B2 #4A4FD2 #7B7FDE #ACAEEA

Accessibility & contrast

On white

6.29
#4A4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4A4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FD2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FD2#FFFFFF#000000##FFFFFF
##4A4FD21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a4fd2;
/* rgb */ color: rgb(74, 79, 210);
/* oklch */ color: oklch(50.5% 0.197 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c80e1',
    500: '#4a4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fd2;
$custom-light: #8c80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fd2",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 237.794,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50474,
    "c": 0.19745,
    "h": 275.1
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#4A4FD2
secondary
#D8D6A0
accent
#DD44E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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