#4E42CF#4E42CF

#4E42CF is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.208 H 279.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4E42CF
RGBrgb(78, 66, 207)
HSLhsl(245, 59%, 54%)
HSVhsv(245, 68%, 81%)
CMYKcmyk(62.3%, 68.1%, 0%, 18.8%)
CIE-LABlab(37.88, 45.84, -71.16)
CIE-LCHlch(37.88, 84.64, 302.79°)
OKLaboklab(48.39% 0.0327 -0.2052)
OKLCHoklch(48.39% 0.208 279.1)
XYZxyz(16.3490, 10.0199, 60.0919)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42CF #C3CF42
analogous
#427CCF #4E42CF #9442CF
triadic
#4E42CF #CF4E42 #42CF4E
tetradic
#4E42CF #CF427C #C3CF42 #42CF94
square
#4E42CF #CF427C #C3CF42 #42CF94
split-complementary
#4E42CF #CF9442 #7CCF42
monochromatic
#261F78 #362BA9 #4E42CF #7C73DB #A9A4E8

Accessibility & contrast

On white

6.99
#4E42CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4E42CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E42CF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42CF#FFFFFF#000000##FFFFFF
##4E42CF1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e42cf;
/* rgb */ color: rgb(78, 66, 207);
/* oklch */ color: oklch(48.4% 0.208 279.1);
Tailwind
colors: {
  custom: {
    50: '#8e78df',
    500: '#4e42cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e42cf;
$custom-light: #8e78df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42cf",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 245.106,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.20779,
    "h": 279.1
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#4E42CF
secondary
#CFD598
accent
#E345D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4E42CF

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

Preview Lab → · Contrast checker → · Palette generator →

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