#4E42CA#4E42CA

#4E42CA is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.9% C 0.202 H 279.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4E42CA
RGBrgb(78, 66, 202)
HSLhsl(245, 56%, 53%)
HSVhsv(245, 67%, 79%)
CMYKcmyk(61.4%, 67.3%, 0%, 20.8%)
CIE-LABlab(37.44, 44.26, -68.97)
CIE-LCHlch(37.44, 81.95, 302.69°)
OKLaboklab(47.95% 0.0334 -0.1988)
OKLCHoklch(47.95% 0.202 279.5)
XYZxyz(15.7474, 9.7792, 56.9234)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42CA #BECA42
analogous
#427ACA #4E42CA #9242CA
triadic
#4E42CA #CA4E42 #42CA4E
tetradic
#4E42CA #CA427A #BECA42 #42CA92
square
#4E42CA #CA427A #BECA42 #42CA92
split-complementary
#4E42CA #CA9242 #7ACA42
monochromatic
#272072 #382DA2 #4E42CA #7B72D7 #A8A2E5

Accessibility & contrast

On white

7.10
#4E42CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E42CA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42CA#FFFFFF#000000##FFFFFF
##4E42CA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e42ca;
/* rgb */ color: rgb(78, 66, 202);
/* oklch */ color: oklch(47.9% 0.202 279.5);
Tailwind
colors: {
  custom: {
    50: '#8d78db',
    500: '#4e42ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e42ca;
$custom-light: #8d78db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42ca",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 245.294,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.20158,
    "h": 279.5
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#4E42CA
secondary
#CCD196
accent
#DF48D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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