#4542CC#4542CC

#4542CC is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.206 H 276.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4542CC
RGBrgb(69, 66, 204)
HSLhsl(241, 58%, 53%)
HSVhsv(241, 68%, 80%)
CMYKcmyk(66.2%, 67.6%, 0%, 20%)
CIE-LABlab(36.97, 43.67, -70.94)
CIE-LCHlch(36.97, 83.31, 301.62°)
OKLaboklab(47.49% 0.0219 -0.2048)
OKLCHoklch(47.49% 0.206 276.1)
XYZxyz(15.2980, 9.5199, 58.1464)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542CC #C9CC42
analogous
#4284CC #4542CC #8A42CC
triadic
#4542CC #CC4542 #42CC45
tetradic
#4542CC #CC4284 #C9CC42 #42CC8A
square
#4542CC #CC4284 #C9CC42 #42CC8A
split-complementary
#4542CC #CC8A42 #84CC42
monochromatic
#211F74 #2F2CA4 #4542CC #7472D9 #A4A2E6

Accessibility & contrast

On white

7.23
#4542CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4542CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542CC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542CC#FFFFFF#000000##FFFFFF
##4542CC1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4542cc;
/* rgb */ color: rgb(69, 66, 204);
/* oklch */ color: oklch(47.5% 0.206 276.1);
Tailwind
colors: {
  custom: {
    50: '#8977dd',
    500: '#4542cc',
    950: '#000000',
  },
}
SCSS
$custom: #4542cc;
$custom-light: #8977dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4542cc",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 241.304,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.20597,
    "h": 276.1
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#4542CC
secondary
#D1D397
accent
#E147DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4542CC

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

Preview Lab → · Contrast checker → · Palette generator →

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