#4A42D1#4A42D1

#4A42D1 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.3% C 0.211 H 277.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4A42D1
RGBrgb(74, 66, 209)
HSLhsl(243, 61%, 54%)
HSVhsv(243, 68%, 82%)
CMYKcmyk(64.6%, 68.4%, 0%, 18%)
CIE-LABlab(37.76, 45.94, -72.52)
CIE-LCHlch(37.76, 85.84, 302.35°)
OKLaboklab(48.29% 0.0274 -0.2093)
OKLCHoklch(48.29% 0.211 277.5)
XYZxyz(16.2771, 9.9544, 61.3728)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42D1 #C9D142
analogous
#4282D1 #4A42D1 #9242D1
triadic
#4A42D1 #D14A42 #42D14A
tetradic
#4A42D1 #D14282 #C9D142 #42D192
square
#4A42D1 #D14282 #C9D142 #42D192
split-complementary
#4A42D1 #D19242 #82D142
monochromatic
#231E7B #312AAC #4A42D1 #7973DD #A8A4E9

Accessibility & contrast

On white

7.02
#4A42D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4A42D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A42D1
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42D1#FFFFFF#000000##FFFFFF
##4A42D11.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a42d1;
/* rgb */ color: rgb(74, 66, 209);
/* oklch */ color: oklch(48.3% 0.211 277.5);
Tailwind
colors: {
  custom: {
    50: '#8c78e0',
    500: '#4a42d1',
    950: '#000000',
  },
}
SCSS
$custom: #4a42d1;
$custom-light: #8c78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42d1",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 243.357,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.21107,
    "h": 277.5
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#4A42D1
secondary
#D2D699
accent
#E444DB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4A42D1

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

Preview Lab → · Contrast checker → · Palette generator →

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