#4542BF#4542BF

#4542BF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.3% C 0.189 H 277.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4542BF
RGBrgb(69, 66, 191)
HSLhsl(241, 49%, 50%)
HSVhsv(241, 65%, 75%)
CMYKcmyk(63.9%, 65.4%, 0%, 25.1%)
CIE-LABlab(35.83, 39.39, -65.21)
CIE-LCHlch(35.83, 76.19, 301.14°)
OKLaboklab(46.32% 0.0234 -0.188)
OKLCHoklch(46.32% 0.189 277.1)
XYZxyz(13.8034, 8.9221, 50.2748)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542BF #BCBF42
analogous
#427DBF #4542BF #8342BF
triadic
#4542BF #BF4542 #42BF45
tetradic
#4542BF #BF427D #BCBF42 #42BF83
square
#4542BF #BF427D #BCBF42 #42BF83
split-complementary
#4542BF #BF8342 #7DBF42
monochromatic
#242265 #343292 #4542BF #7270CE #9F9DDE

Accessibility & contrast

On white

7.54
#4542BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4542BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542BF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542BF#FFFFFF#000000##FFFFFF
##4542BF1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4542bf;
/* rgb */ color: rgb(69, 66, 191);
/* oklch */ color: oklch(46.3% 0.189 277.1);
Tailwind
colors: {
  custom: {
    50: '#8777d3',
    500: '#4542bf',
    950: '#000000',
  },
}
SCSS
$custom: #4542bf;
$custom-light: #8777d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4542bf",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 241.44,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4632,
    "c": 0.18947,
    "h": 277.1
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#4542BF
secondary
#C9CA93
accent
#D94FD6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4542BF

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

Preview Lab → · Contrast checker → · Palette generator →

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