#4A42C8#4A42C8

#4A42C8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.5% C 0.200 H 278.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4A42C8
RGBrgb(74, 66, 200)
HSLhsl(244, 55%, 52%)
HSVhsv(244, 67%, 78%)
CMYKcmyk(63%, 67%, 0%, 21.6%)
CIE-LABlab(36.97, 43.05, -68.60)
CIE-LCHlch(36.97, 80.99, 302.11°)
OKLaboklab(47.47% 0.0286 -0.1978)
OKLCHoklch(47.47% 0.2 278.2)
XYZxyz(15.1942, 9.5212, 55.6695)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42C8 #C0C842
analogous
#427DC8 #4A42C8 #8D42C8
triadic
#4A42C8 #C84A42 #42C84A
tetradic
#4A42C8 #C8427D #C0C842 #42C88D
square
#4A42C8 #C8427D #C0C842 #42C88D
split-complementary
#4A42C8 #C88D42 #7DC842
monochromatic
#25206F #352E9F #4A42C8 #7771D6 #A5A1E4

Accessibility & contrast

On white

7.23
#4A42C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4A42C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A42C8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42C8#FFFFFF#000000##FFFFFF
##4A42C81.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a42c8;
/* rgb */ color: rgb(74, 66, 200);
/* oklch */ color: oklch(47.5% 0.200 278.2);
Tailwind
colors: {
  custom: {
    50: '#8b77da',
    500: '#4a42c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a42c8;
$custom-light: #8b77da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42c8",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 243.582,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47474,
    "c": 0.19987,
    "h": 278.2
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#4A42C8
secondary
#CDD096
accent
#DE4AD5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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