#45489E#45489E

#45489E is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.137 H 277.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#45489E
RGBrgb(69, 72, 158)
HSLhsl(238, 39%, 45%)
HSVhsv(238, 56%, 62%)
CMYKcmyk(56.3%, 54.4%, 0%, 38%)
CIE-LABlab(34.74, 24.53, -47.38)
CIE-LCHlch(34.74, 53.35, 297.37°)
OKLaboklab(44.71% 0.0186 -0.1356)
OKLCHoklch(44.71% 0.137 277.8)
XYZxyz(10.9412, 8.3678, 33.3797)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45489E #9E9B45
analogous
#45749E #45489E #6F459E
triadic
#45489E #9E4548 #489E45
tetradic
#45489E #9E4574 #9E9B45 #459E6F
square
#45489E #9E4574 #9E9B45 #459E6F
split-complementary
#45489E #9E6F45 #749E45
monochromatic
#202149 #323573 #45489E #6568BC #8F91CE

Accessibility & contrast

On white

7.85
#45489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#45489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45489E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45489E#FFFFFF#000000##FFFFFF
##45489E1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#175C6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #45489e;
/* rgb */ color: rgb(69, 72, 158);
/* oklch */ color: oklch(44.7% 0.137 277.8);
Tailwind
colors: {
  custom: {
    50: '#807bbb',
    500: '#45489e',
    950: '#000000',
  },
}
SCSS
$custom: #45489e;
$custom-light: #807bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#45489e",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 237.978,
    "s": 39.207,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44709,
    "c": 0.13683,
    "h": 277.8
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45489E

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

Preview Lab → · Contrast checker → · Palette generator →

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