#4A40E3#4A40E3

#4A40E3 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.7% C 0.235 H 276.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4A40E3
RGBrgb(74, 64, 227)
HSLhsl(244, 74%, 57%)
HSVhsv(244, 72%, 89%)
CMYKcmyk(67.4%, 71.8%, 0%, 11%)
CIE-LABlab(39.01, 52.73, -80.78)
CIE-LCHlch(39.01, 96.47, 303.13°)
OKLaboklab(49.69% 0.0257 -0.2334)
OKLCHoklch(49.69% 0.235 276.3)
XYZxyz(18.5180, 10.6670, 73.7412)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A40E3 #D9E340
analogous
#4088E3 #4A40E3 #9C40E3
triadic
#4A40E3 #E34A40 #40E34A
tetradic
#4A40E3 #E34088 #D9E340 #40E39C
square
#4A40E3 #E34088 #D9E340 #40E39C
split-complementary
#4A40E3 #E39C40 #88E340
monochromatic
#1D1693 #281DC8 #4A40E3 #7D75EB #AFABF3

Accessibility & contrast

On white

6.70
#4A40E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4A40E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A40E3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A40E3#FFFFFF#000000##FFFFFF
##4A40E31.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#0055E0
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a40e3;
/* rgb */ color: rgb(74, 64, 227);
/* oklch */ color: oklch(49.7% 0.235 276.3);
Tailwind
colors: {
  custom: {
    50: '#9077ed',
    500: '#4a40e3',
    950: '#000000',
  },
}
SCSS
$custom: #4a40e3;
$custom-light: #9077ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4a40e3",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 243.681,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.23484,
    "h": 276.3
  },
  "luminance": 0.10669
}

Semantic roles & 50–950 ramp

primary
#4A40E3
secondary
#DCE19E
accent
#F137E6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A40E3

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

Preview Lab → · Contrast checker → · Palette generator →

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