#4542BC#4542BC

#4542BC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.186 H 277.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4542BC
RGBrgb(69, 66, 188)
HSLhsl(241, 48%, 50%)
HSVhsv(241, 65%, 74%)
CMYKcmyk(63.3%, 64.9%, 0%, 26.3%)
CIE-LABlab(35.58, 38.40, -63.87)
CIE-LCHlch(35.58, 74.52, 301.02°)
OKLaboklab(46.06% 0.0236 -0.1841)
OKLCHoklch(46.06% 0.186 277.3)
XYZxyz(13.4766, 8.7914, 48.5539)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542BC #B9BC42
analogous
#427CBC #4542BC #8242BC
triadic
#4542BC #BC4542 #42BC45
tetradic
#4542BC #BC427C #B9BC42 #42BC82
square
#4542BC #BC427C #B9BC42 #42BC82
split-complementary
#4542BC #BC8242 #7CBC42
monochromatic
#242261 #34328F #4542BC #716FCC #9E9CDC

Accessibility & contrast

On white

7.61
#4542BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4542BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542BC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542BC#FFFFFF#000000##FFFFFF
##4542BC1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4542bc;
/* rgb */ color: rgb(69, 66, 188);
/* oklch */ color: oklch(46.1% 0.186 277.3);
Tailwind
colors: {
  custom: {
    50: '#8677d1',
    500: '#4542bc',
    950: '#000000',
  },
}
SCSS
$custom: #4542bc;
$custom-light: #8677d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4542bc",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 241.475,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46056,
    "c": 0.18559,
    "h": 277.3
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#4542BC
secondary
#C7C991
accent
#D850D4
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4542BC

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

Preview Lab → · Contrast checker → · Palette generator →

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