#4546C2#4546C2

#4546C2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.189 H 276.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4546C2
RGBrgb(69, 70, 194)
HSLhsl(240, 51%, 52%)
HSVhsv(240, 64%, 76%)
CMYKcmyk(64.4%, 63.9%, 0%, 23.9%)
CIE-LABlab(37.00, 37.96, -65.06)
CIE-LCHlch(37.00, 75.32, 300.26°)
OKLaboklab(47.25% 0.0199 -0.1875)
OKLCHoklch(47.25% 0.189 276.1)
XYZxyz(14.3788, 9.5394, 52.1120)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4546C2 #C2C145
analogous
#4585C2 #4546C2 #8345C2
triadic
#4546C2 #C24546 #46C245
tetradic
#4546C2 #C24585 #C2C145 #45C283
square
#4546C2 #C24585 #C2C145 #45C283
split-complementary
#4546C2 #C28345 #85C245
monochromatic
#23236A #323398 #4546C2 #7374D1 #A1A2E0

Accessibility & contrast

On white

7.22
#4546C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4546C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4546C2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4546C2#FFFFFF#000000##FFFFFF
##4546C21.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4546c2;
/* rgb */ color: rgb(69, 70, 194);
/* oklch */ color: oklch(47.3% 0.189 276.1);
Tailwind
colors: {
  custom: {
    50: '#877ad5',
    500: '#4546c2',
    950: '#000000',
  },
}
SCSS
$custom: #4546c2;
$custom-light: #877ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4546c2",
  "rgb": {
    "r": 69,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 239.52,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4725,
    "c": 0.1886,
    "h": 276.1
  },
  "luminance": 0.09541
}

Semantic roles & 50–950 ramp

primary
#4546C2
secondary
#CDCC96
accent
#D94EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4546C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4546C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva