#4A42CE#4A42CE

#4A42CE is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.0% C 0.207 H 277.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4A42CE
RGBrgb(74, 66, 206)
HSLhsl(243, 59%, 53%)
HSVhsv(243, 68%, 81%)
CMYKcmyk(64.1%, 68%, 0%, 19.2%)
CIE-LABlab(37.49, 44.98, -71.22)
CIE-LCHlch(37.49, 84.23, 302.27°)
OKLaboklab(48.01% 0.0278 -0.2055)
OKLCHoklch(48.01% 0.207 277.7)
XYZxyz(15.9092, 9.8072, 59.4351)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42CE #C6CE42
analogous
#4280CE #4A42CE #9042CE
triadic
#4A42CE #CE4A42 #42CE4A
tetradic
#4A42CE #CE4280 #C6CE42 #42CE90
square
#4A42CE #CE4280 #C6CE42 #42CE90
split-complementary
#4A42CE #CE9042 #80CE42
monochromatic
#241F77 #322BA7 #4A42CE #7973DB #A7A3E7

Accessibility & contrast

On white

7.09
#4A42CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4A42CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A42CE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42CE#FFFFFF#000000##FFFFFF
##4A42CE1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a42ce;
/* rgb */ color: rgb(74, 66, 206);
/* oklch */ color: oklch(48.0% 0.207 277.7);
Tailwind
colors: {
  custom: {
    50: '#8c77de',
    500: '#4a42ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a42ce;
$custom-light: #8c77de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42ce",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 243.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.20736,
    "h": 277.7
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#4A42CE
secondary
#D1D498
accent
#E246D9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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