#45349C#45349C

#45349C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.161 H 284.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#45349C
RGBrgb(69, 52, 156)
HSLhsl(250, 50%, 41%)
HSVhsv(250, 67%, 61%)
CMYKcmyk(55.8%, 66.7%, 0%, 38.8%)
CIE-LABlab(29.72, 36.46, -54.31)
CIE-LCHlch(29.72, 65.42, 303.87°)
OKLaboklab(40.96% 0.0395 -0.1561)
OKLCHoklch(40.96% 0.161 284.2)
XYZxyz(9.6812, 6.1209, 32.1174)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45349C #8B9C34
analogous
#34579C #45349C #79349C
triadic
#45349C #9C4534 #349C45
tetradic
#45349C #9C3457 #8B9C34 #349C79
square
#45349C #9C3457 #8B9C34 #349C79
split-complementary
#45349C #9C7934 #579C34
monochromatic
#1C1540 #31256E #45349C #5E4AC3 #8778D2

Accessibility & contrast

On white

9.44
#45349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#45349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45349C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45349C#FFFFFF#000000##FFFFFF
##45349C1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#1E4E63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #45349c;
/* rgb */ color: rgb(69, 52, 156);
/* oklch */ color: oklch(41.0% 0.161 284.2);
Tailwind
colors: {
  custom: {
    50: '#816dba',
    500: '#45349c',
    950: '#000000',
  },
}
SCSS
$custom: #45349c;
$custom-light: #816dba;
$custom-dark: #000000;
JSON
{
  "hex": "#45349c",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 249.808,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40962,
    "c": 0.16099,
    "h": 284.2
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#45349C
secondary
#AFBB71
accent
#DA4EC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45349C

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

Preview Lab → · Contrast checker → · Palette generator →

#45349C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva