#4A42D2#4A42D2

#4A42D2 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.212 H 277.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4A42D2
RGBrgb(74, 66, 210)
HSLhsl(243, 62%, 54%)
HSVhsv(243, 69%, 82%)
CMYKcmyk(64.8%, 68.6%, 0%, 17.6%)
CIE-LABlab(37.85, 46.26, -72.95)
CIE-LCHlch(37.85, 86.38, 302.38°)
OKLaboklab(48.38% 0.0272 -0.2105)
OKLCHoklch(48.38% 0.212 277.4)
XYZxyz(16.4013, 10.0040, 62.0269)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42D2 #CAD242
analogous
#4282D2 #4A42D2 #9242D2
triadic
#4A42D2 #D24A42 #42D24A
tetradic
#4A42D2 #D24282 #CAD242 #42D292
square
#4A42D2 #D24282 #CAD242 #42D292
split-complementary
#4A42D2 #D29242 #82D242
monochromatic
#231E7C #3129AD #4A42D2 #7973DE #A9A5EA

Accessibility & contrast

On white

7.00
#4A42D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4A42D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A42D2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42D2#FFFFFF#000000##FFFFFF
##4A42D21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a42d2;
/* rgb */ color: rgb(74, 66, 210);
/* oklch */ color: oklch(48.4% 0.212 277.4);
Tailwind
colors: {
  custom: {
    50: '#8d78e1',
    500: '#4a42d2',
    950: '#000000',
  },
}
SCSS
$custom: #4a42d2;
$custom-light: #8d78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42d2",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 243.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48378,
    "c": 0.2123,
    "h": 277.4
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

primary
#4A42D2
secondary
#D3D799
accent
#E543DC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4A42D2

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

Preview Lab → · Contrast checker → · Palette generator →

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