#4542CB#4542CB

#4542CB is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.4% C 0.205 H 276.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4542CB
RGBrgb(69, 66, 203)
HSLhsl(241, 57%, 53%)
HSVhsv(241, 67%, 80%)
CMYKcmyk(66%, 67.5%, 0%, 20.4%)
CIE-LABlab(36.88, 43.35, -70.51)
CIE-LCHlch(36.88, 82.76, 301.58°)
OKLaboklab(47.4% 0.022 -0.2035)
OKLCHoklch(47.4% 0.205 276.2)
XYZxyz(15.1784, 9.4721, 57.5168)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542CB #C8CB42
analogous
#4283CB #4542CB #8A42CB
triadic
#4542CB #CB4542 #42CB45
tetradic
#4542CB #CB4283 #C8CB42 #42CB8A
square
#4542CB #CB4283 #C8CB42 #42CB8A
split-complementary
#4542CB #CB8A42 #83CB42
monochromatic
#212073 #2F2DA3 #4542CB #7472D8 #A3A2E5

Accessibility & contrast

On white

7.25
#4542CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4542CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542CB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542CB#FFFFFF#000000##FFFFFF
##4542CB1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4542cb;
/* rgb */ color: rgb(69, 66, 203);
/* oklch */ color: oklch(47.4% 0.205 276.2);
Tailwind
colors: {
  custom: {
    50: '#8977dc',
    500: '#4542cb',
    950: '#000000',
  },
}
SCSS
$custom: #4542cb;
$custom-light: #8977dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4542cb",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 241.314,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47397,
    "c": 0.20472,
    "h": 276.2
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#4542CB
secondary
#D1D297
accent
#E048DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4542CB

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

Preview Lab → · Contrast checker → · Palette generator →

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