#4542DA#4542DA

#4542DA is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.8% C 0.223 H 275.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4542DA
RGBrgb(69, 66, 218)
HSLhsl(241, 67%, 56%)
HSVhsv(241, 70%, 85%)
CMYKcmyk(68.3%, 69.7%, 0%, 14.5%)
CIE-LABlab(38.24, 48.22, -76.93)
CIE-LCHlch(38.24, 90.79, 302.08°)
OKLaboklab(48.79% 0.02 -0.2223)
OKLCHoklch(48.79% 0.223 275.1)
XYZxyz(17.0532, 10.2220, 67.3904)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542DA #D7DA42
analogous
#428BDA #4542DA #9142DA
triadic
#4542DA #DA4542 #42DA45
tetradic
#4542DA #DA428B #D7DA42 #42DA91
square
#4542DA #DA428B #D7DA42 #42DA91
split-complementary
#4542DA #DA9142 #8BDA42
monochromatic
#1D1A87 #2724BA #4542DA #7775E4 #AAA8EE

Accessibility & contrast

On white

6.90
#4542DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4542DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4542DA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542DA#FFFFFF#000000##FFFFFF
##4542DA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#0053D7
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4542da;
/* rgb */ color: rgb(69, 66, 218);
/* oklch */ color: oklch(48.8% 0.223 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c78e7',
    500: '#4542da',
    950: '#000000',
  },
}
SCSS
$custom: #4542da;
$custom-light: #8c78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4542da",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 241.184,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.22321,
    "h": 275.1
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#4542DA
secondary
#DADB9C
accent
#EA3EE7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4542DA

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

Preview Lab → · Contrast checker → · Palette generator →

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