#4A40DE#4A40DE

#4A40DE is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.2% C 0.229 H 276.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4A40DE
RGBrgb(74, 64, 222)
HSLhsl(244, 71%, 56%)
HSVhsv(244, 71%, 87%)
CMYKcmyk(66.7%, 71.2%, 0%, 12.9%)
CIE-LABlab(38.54, 51.17, -78.71)
CIE-LCHlch(38.54, 93.88, 303.03°)
OKLaboklab(49.21% 0.0266 -0.2274)
OKLCHoklch(49.21% 0.229 276.7)
XYZxyz(17.8380, 10.3950, 70.1595)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A40DE #D4DE40
analogous
#4085DE #4A40DE #9940DE
triadic
#4A40DE #DE4A40 #40DE4A
tetradic
#4A40DE #DE4085 #D4DE40 #40DE99
square
#4A40DE #DE4085 #D4DE40 #40DE99
split-complementary
#4A40DE #DE9940 #85DE40
monochromatic
#1F188B #2B21C0 #4A40DE #7B74E7 #ADA8F0

Accessibility & contrast

On white

6.82
#4A40DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4A40DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A40DE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A40DE#FFFFFF#000000##FFFFFF
##4A40DE1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E3
Deuteranopia (green-blind)
#0054DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a40de;
/* rgb */ color: rgb(74, 64, 222);
/* oklch */ color: oklch(49.2% 0.229 276.7);
Tailwind
colors: {
  custom: {
    50: '#8f77ea',
    500: '#4a40de',
    950: '#000000',
  },
}
SCSS
$custom: #4a40de;
$custom-light: #8f77ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a40de",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 222
  },
  "hsl": {
    "h": 243.797,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.22892,
    "h": 276.7
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#4A40DE
secondary
#D9DE9C
accent
#ED3AE2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A40DE

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

Preview Lab → · Contrast checker → · Palette generator →

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