#4A42C9#4A42C9

#4A42C9 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.6% C 0.201 H 278.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4A42C9
RGBrgb(74, 66, 201)
HSLhsl(244, 56%, 52%)
HSVhsv(244, 67%, 79%)
CMYKcmyk(63.2%, 67.2%, 0%, 21.2%)
CIE-LABlab(37.06, 43.37, -69.04)
CIE-LCHlch(37.06, 81.53, 302.14°)
OKLaboklab(47.56% 0.0285 -0.1991)
OKLCHoklch(47.56% 0.201 278.1)
XYZxyz(15.3115, 9.5681, 56.2870)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42C9 #C1C942
analogous
#427DC9 #4A42C9 #8E42C9
triadic
#4A42C9 #C94A42 #42C94A
tetradic
#4A42C9 #C9427D #C1C942 #42C98E
square
#4A42C9 #C9427D #C1C942 #42C98E
split-complementary
#4A42C9 #C98E42 #7DC942
monochromatic
#252070 #352EA0 #4A42C9 #7872D7 #A5A1E4

Accessibility & contrast

On white

7.21
#4A42C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4A42C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A42C9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42C9#FFFFFF#000000##FFFFFF
##4A42C91.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a42c9;
/* rgb */ color: rgb(74, 66, 201);
/* oklch */ color: oklch(47.6% 0.201 278.1);
Tailwind
colors: {
  custom: {
    50: '#8b77db',
    500: '#4a42c9',
    950: '#000000',
  },
}
SCSS
$custom: #4a42c9;
$custom-light: #8b77db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42c9",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 243.556,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.20111,
    "h": 278.1
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#4A42C9
secondary
#CDD196
accent
#DF49D6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A42C9

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

Preview Lab → · Contrast checker → · Palette generator →

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