#4A40CE#4A40CE

#4A40CE is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.7% C 0.210 H 278.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4A40CE
RGBrgb(74, 64, 206)
HSLhsl(244, 59%, 53%)
HSVhsv(244, 69%, 81%)
CMYKcmyk(64.1%, 68.9%, 0%, 19.2%)
CIE-LABlab(37.07, 46.12, -71.91)
CIE-LCHlch(37.07, 85.43, 302.68°)
OKLaboklab(47.71% 0.0292 -0.2075)
OKLCHoklch(47.71% 0.21 278)
XYZxyz(15.7944, 9.5776, 59.3969)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A40CE #C4CE40
analogous
#407DCE #4A40CE #9140CE
triadic
#4A40CE #CE4A40 #40CE4A
tetradic
#4A40CE #CE407D #C4CE40 #40CE91
square
#4A40CE #CE407D #C4CE40 #40CE91
split-complementary
#4A40CE #CE9140 #7DCE40
monochromatic
#241E75 #332BA6 #4A40CE #7871DA #A6A1E7

Accessibility & contrast

On white

7.20
#4A40CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4A40CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A40CE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A40CE#FFFFFF#000000##FFFFFF
##4A40CE1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a40ce;
/* rgb */ color: rgb(74, 64, 206);
/* oklch */ color: oklch(47.7% 0.210 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c76de',
    500: '#4a40ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a40ce;
$custom-light: #8c76de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a40ce",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 244.225,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.20956,
    "h": 278
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#4A40CE
secondary
#CFD496
accent
#E245D7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4A40CE

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

Preview Lab → · Contrast checker → · Palette generator →

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