#4A42DE#4A42DE

#4A42DE is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.5% C 0.227 H 276.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4A42DE
RGBrgb(74, 66, 222)
HSLhsl(243, 70%, 56%)
HSVhsv(243, 70%, 87%)
CMYKcmyk(66.7%, 70.3%, 0%, 12.9%)
CIE-LABlab(38.94, 50.07, -78.05)
CIE-LCHlch(38.94, 92.73, 302.68°)
OKLaboklab(49.49% 0.0254 -0.2255)
OKLCHoklch(49.49% 0.227 276.4)
XYZxyz(17.9528, 10.6246, 70.1977)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42DE #D6DE42
analogous
#4288DE #4A42DE #9842DE
triadic
#4A42DE #DE4A42 #42DE4A
tetradic
#4A42DE #DE4288 #D6DE42 #42DE98
square
#4A42DE #DE4288 #D6DE42 #42DE98
split-complementary
#4A42DE #DE9842 #88DE42
monochromatic
#1F198D #2A22C1 #4A42DE #7C76E7 #AEAAF0

Accessibility & contrast

On white

6.72
#4A42DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A42DE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42DE#FFFFFF#000000##FFFFFF
##4A42DE1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E3
Deuteranopia (green-blind)
#0055DB
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a42de;
/* rgb */ color: rgb(74, 66, 222);
/* oklch */ color: oklch(49.5% 0.227 276.4);
Tailwind
colors: {
  custom: {
    50: '#8f78ea',
    500: '#4a42de',
    950: '#000000',
  },
}
SCSS
$custom: #4a42de;
$custom-light: #8f78ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42de",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 222
  },
  "hsl": {
    "h": 243.077,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49492,
    "c": 0.22689,
    "h": 276.4
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#4A42DE
secondary
#DBDE9E
accent
#ED3BE4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A42DE

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

Preview Lab → · Contrast checker → · Palette generator →

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