#4E45CB#4E45CB

#4E45CB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.199 H 278.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4E45CB
RGBrgb(78, 69, 203)
HSLhsl(244, 56%, 53%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(61.6%, 66%, 0%, 20.4%)
CIE-LABlab(38.18, 42.83, -68.36)
CIE-LCHlch(38.18, 80.66, 302.07°)
OKLaboklab(48.5% 0.0309 -0.197)
OKLCHoklch(48.5% 0.199 278.9)
XYZxyz(16.0461, 10.1865, 57.6090)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45CB #C2CB45
analogous
#457FCB #4E45CB #9145CB
triadic
#4E45CB #CB4E45 #45CB4E
tetradic
#4E45CB #CB457F #C2CB45 #45CB91
square
#4E45CB #CB457F #C2CB45 #45CB91
split-complementary
#4E45CB #CB9145 #7FCB45
monochromatic
#262175 #362EA5 #4E45CB #7C75D8 #A9A5E6

Accessibility & contrast

On white

6.91
#4E45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4E45CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45CB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45CB#FFFFFF#000000##FFFFFF
##4E45CB1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e45cb;
/* rgb */ color: rgb(78, 69, 203);
/* oklch */ color: oklch(48.5% 0.199 278.9);
Tailwind
colors: {
  custom: {
    50: '#8d7adc',
    500: '#4e45cb',
    950: '#000000',
  },
}
SCSS
$custom: #4e45cb;
$custom-light: #8d7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45cb",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 244.03,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.19938,
    "h": 278.9
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#4E45CB
secondary
#CFD399
accent
#E048D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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