#4A42C5#4A42C5

#4A42C5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.2% C 0.196 H 278.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4A42C5
RGBrgb(74, 66, 197)
HSLhsl(244, 53%, 52%)
HSVhsv(244, 66%, 77%)
CMYKcmyk(62.4%, 66.5%, 0%, 22.7%)
CIE-LABlab(36.71, 42.08, -67.27)
CIE-LCHlch(36.71, 79.35, 302.03°)
OKLaboklab(47.21% 0.029 -0.1939)
OKLCHoklch(47.21% 0.196 278.5)
XYZxyz(14.8471, 9.3823, 53.8411)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42C5 #BDC542
analogous
#427CC5 #4A42C5 #8C42C5
triadic
#4A42C5 #C54A42 #42C54A
tetradic
#4A42C5 #C5427C #BDC542 #42C58C
square
#4A42C5 #C5427C #BDC542 #42C58C
split-complementary
#4A42C5 #C58C42 #7CC542
monochromatic
#26216C #362F9A #4A42C5 #7771D3 #A4A0E2

Accessibility & contrast

On white

7.30
#4A42C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4A42C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A42C5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42C5#FFFFFF#000000##FFFFFF
##4A42C51.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a42c5;
/* rgb */ color: rgb(74, 66, 197);
/* oklch */ color: oklch(47.2% 0.196 278.5);
Tailwind
colors: {
  custom: {
    50: '#8a77d8',
    500: '#4a42c5',
    950: '#000000',
  },
}
SCSS
$custom: #4a42c5;
$custom-light: #8a77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42c5",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 243.664,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47207,
    "c": 0.19607,
    "h": 278.5
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#4A42C5
secondary
#CBCE95
accent
#DC4BD4
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A42C5

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

Preview Lab → · Contrast checker → · Palette generator →

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