#4542CF#4542CF

#4542CF is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.210 H 275.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4542CF
RGBrgb(69, 66, 207)
HSLhsl(241, 59%, 54%)
HSVhsv(241, 68%, 81%)
CMYKcmyk(66.7%, 68.1%, 0%, 18.8%)
CIE-LABlab(37.23, 44.65, -72.24)
CIE-LCHlch(37.23, 84.93, 301.72°)
OKLaboklab(47.76% 0.0215 -0.2086)
OKLCHoklch(47.76% 0.21 275.9)
XYZxyz(15.6612, 9.6652, 60.0596)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542CF #CCCF42
analogous
#4285CF #4542CF #8B42CF
triadic
#4542CF #CF4542 #42CF45
tetradic
#4542CF #CF4285 #CCCF42 #42CF8B
square
#4542CF #CF4285 #CCCF42 #42CF8B
split-complementary
#4542CF #CF8B42 #85CF42
monochromatic
#201F78 #2E2BA9 #4542CF #7573DB #A5A4E8

Accessibility & contrast

On white

7.16
#4542CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4542CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542CF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542CF#FFFFFF#000000##FFFFFF
##4542CF1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4542cf;
/* rgb */ color: rgb(69, 66, 207);
/* oklch */ color: oklch(47.8% 0.210 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a77df',
    500: '#4542cf',
    950: '#000000',
  },
}
SCSS
$custom: #4542cf;
$custom-light: #8a77df;
$custom-dark: #000000;
JSON
{
  "hex": "#4542cf",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 241.277,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47764,
    "c": 0.20971,
    "h": 275.9
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#4542CF
secondary
#D3D598
accent
#E345DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4542CF

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

Preview Lab → · Contrast checker → · Palette generator →

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