#4E43C8#4E43C8

#4E43C8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.9% C 0.198 H 279.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4E43C8
RGBrgb(78, 67, 200)
HSLhsl(245, 55%, 52%)
HSVhsv(245, 67%, 78%)
CMYKcmyk(61%, 66.5%, 0%, 21.6%)
CIE-LABlab(37.49, 43.04, -67.74)
CIE-LCHlch(37.49, 80.26, 302.43°)
OKLaboklab(47.92% 0.0329 -0.1952)
OKLCHoklch(47.92% 0.198 279.6)
XYZxyz(15.5711, 9.8030, 55.7040)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43C8 #BDC843
analogous
#437BC8 #4E43C8 #9043C8
triadic
#4E43C8 #C84E43 #43C84E
tetradic
#4E43C8 #C8437B #BDC843 #43C890
square
#4E43C8 #C8437B #BDC843 #43C890
split-complementary
#4E43C8 #C89043 #7BC843
monochromatic
#272170 #382F9F #4E43C8 #7B72D6 #A7A2E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E43C8#FFFFFF#000000##FFFFFF
##4E43C81.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)
#005DCC
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e43c8;
/* rgb */ color: rgb(78, 67, 200);
/* oklch */ color: oklch(47.9% 0.198 279.6);
Tailwind
colors: {
  custom: {
    50: '#8d78da',
    500: '#4e43c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e43c8;
$custom-light: #8d78da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43c8",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 244.962,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.19792,
    "h": 279.6
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#4E43C8
secondary
#CCD096
accent
#DE4AD2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E43C8

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

Preview Lab → · Contrast checker → · Palette generator →

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