#4542D8#4542D8

#4542D8 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.221 H 275.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4542D8
RGBrgb(69, 66, 216)
HSLhsl(241, 66%, 55%)
HSVhsv(241, 69%, 85%)
CMYKcmyk(68.1%, 69.4%, 0%, 15.3%)
CIE-LABlab(38.05, 47.58, -76.08)
CIE-LCHlch(38.05, 89.73, 302.02°)
OKLaboklab(48.6% 0.0203 -0.2198)
OKLCHoklch(48.6% 0.221 275.3)
XYZxyz(16.7930, 10.1180, 66.0204)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542D8 #D5D842
analogous
#428AD8 #4542D8 #9042D8
triadic
#4542D8 #D84542 #42D845
tetradic
#4542D8 #D8428A #D5D842 #42D890
square
#4542D8 #D8428A #D5D842 #42D890
split-complementary
#4542D8 #D89042 #8AD842
monochromatic
#1D1B84 #2926B7 #4542D8 #7775E2 #A9A7ED

Accessibility & contrast

On white

6.94
#4542D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4542D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4542D8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542D8#FFFFFF#000000##FFFFFF
##4542D81.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DD
Deuteranopia (green-blind)
#0053D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4542d8;
/* rgb */ color: rgb(69, 66, 216);
/* oklch */ color: oklch(48.6% 0.221 275.3);
Tailwind
colors: {
  custom: {
    50: '#8c78e5',
    500: '#4542d8',
    950: '#000000',
  },
}
SCSS
$custom: #4542d8;
$custom-light: #8c78e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4542d8",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 241.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.22077,
    "h": 275.3
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#4542D8
secondary
#D9DA9C
accent
#E93FE5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4542D8

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

Preview Lab → · Contrast checker → · Palette generator →

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