#4542D9#4542D9

#4542D9 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.7% C 0.222 H 275.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4542D9
RGBrgb(69, 66, 217)
HSLhsl(241, 67%, 55%)
HSVhsv(241, 70%, 85%)
CMYKcmyk(68.2%, 69.6%, 0%, 14.9%)
CIE-LABlab(38.15, 47.90, -76.51)
CIE-LCHlch(38.15, 90.26, 302.05°)
OKLaboklab(48.7% 0.0201 -0.2211)
OKLCHoklch(48.7% 0.222 275.2)
XYZxyz(16.9227, 10.1698, 66.7033)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542D9 #D6D942
analogous
#428AD9 #4542D9 #9042D9
triadic
#4542D9 #D94542 #42D945
tetradic
#4542D9 #D9428A #D6D942 #42D990
square
#4542D9 #D9428A #D6D942 #42D990
split-complementary
#4542D9 #D99042 #8AD942
monochromatic
#1D1B86 #2825B9 #4542D9 #7775E3 #A9A8ED

Accessibility & contrast

On white

6.92
#4542D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4542D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4542D9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542D9#FFFFFF#000000##FFFFFF
##4542D91.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0053D6
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4542d9;
/* rgb */ color: rgb(69, 66, 217);
/* oklch */ color: oklch(48.7% 0.222 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c78e6',
    500: '#4542d9',
    950: '#000000',
  },
}
SCSS
$custom: #4542d9;
$custom-light: #8c78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4542d9",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 241.192,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48696,
    "c": 0.22198,
    "h": 275.2
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4542D9

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

Preview Lab → · Contrast checker → · Palette generator →

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