#45489C#45489C

#45489C is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.134 H 277.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#45489C
RGBrgb(69, 72, 156)
HSLhsl(238, 39%, 44%)
HSVhsv(238, 56%, 61%)
CMYKcmyk(55.8%, 53.8%, 0%, 38.8%)
CIE-LABlab(34.60, 23.86, -46.39)
CIE-LCHlch(34.60, 52.17, 297.21°)
OKLaboklab(44.56% 0.0185 -0.1327)
OKLCHoklch(44.56% 0.134 277.9)
XYZxyz(10.7705, 8.2995, 32.4805)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45489C #9C9945
analogous
#45749C #45489C #6E459C
triadic
#45489C #9C4548 #489C45
tetradic
#45489C #9C4574 #9C9945 #459C6E
square
#45489C #9C4574 #9C9945 #459C6E
split-complementary
#45489C #9C6E45 #749C45
monochromatic
#1F2147 #323472 #45489C #6467BA #8E90CD

Accessibility & contrast

On white

7.89
#45489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#45489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45489C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45489C#FFFFFF#000000##FFFFFF
##45489C1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559F
Deuteranopia (green-blind)
#064E9A
Tritanopia (blue-blind)
#1A5B6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #45489c;
/* rgb */ color: rgb(69, 72, 156);
/* oklch */ color: oklch(44.6% 0.134 277.9);
Tailwind
colors: {
  custom: {
    50: '#807bba',
    500: '#45489c',
    950: '#000000',
  },
}
SCSS
$custom: #45489c;
$custom-light: #807bba;
$custom-dark: #000000;
JSON
{
  "hex": "#45489c",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 237.931,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44561,
    "c": 0.13395,
    "h": 277.9
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#45489C
secondary
#B9B784
accent
#CB59CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #45489C

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

Preview Lab → · Contrast checker → · Palette generator →

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