#4542E2#4542E2

#4542E2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.6% C 0.233 H 274.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4542E2
RGBrgb(69, 66, 226)
HSLhsl(241, 73%, 57%)
HSVhsv(241, 71%, 89%)
CMYKcmyk(69.5%, 70.8%, 0%, 11.4%)
CIE-LABlab(38.99, 50.79, -80.27)
CIE-LCHlch(38.99, 94.99, 302.32°)
OKLaboklab(49.55% 0.0187 -0.2321)
OKLCHoklch(49.55% 0.233 274.6)
XYZxyz(18.1254, 10.6509, 73.0374)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542E2 #DFE242
analogous
#428FE2 #4542E2 #9542E2
triadic
#4542E2 #E24542 #42E245
tetradic
#4542E2 #E2428F #DFE242 #42E295
square
#4542E2 #E2428F #DFE242 #42E295
split-complementary
#4542E2 #E29542 #8FE242
monochromatic
#191793 #221FC8 #4542E2 #7977EA #ADACF2

Accessibility & contrast

On white

6.71
#4542E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4542E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4542E2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542E2#FFFFFF#000000##FFFFFF
##4542E21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4542e2;
/* rgb */ color: rgb(69, 66, 226);
/* oklch */ color: oklch(49.6% 0.233 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e78ec',
    500: '#4542e2',
    950: '#000000',
  },
}
SCSS
$custom: #4542e2;
$custom-light: #8e78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4542e2",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 241.125,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.23283,
    "h": 274.6
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#4542E2
secondary
#DFE09F
accent
#F038ED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4542E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4542E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva