#45489D#45489D

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

Color values

HEX#45489D
RGBrgb(69, 72, 157)
HSLhsl(238, 39%, 44%)
HSVhsv(238, 56%, 62%)
CMYKcmyk(56.1%, 54.1%, 0%, 38.4%)
CIE-LABlab(34.67, 24.19, -46.89)
CIE-LCHlch(34.67, 52.76, 297.29°)
OKLaboklab(44.64% 0.0185 -0.1341)
OKLCHoklch(44.64% 0.135 277.9)
XYZxyz(10.8555, 8.3335, 32.9283)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45489D #9D9A45
analogous
#45749D #45489D #6E459D
triadic
#45489D #9D4548 #489D45
tetradic
#45489D #9D4574 #9D9A45 #459D6E
square
#45489D #9D4574 #9D9A45 #459D6E
split-complementary
#45489D #9D6E45 #749D45
monochromatic
#202148 #323572 #45489D #6467BB #8F91CE

Accessibility & contrast

On white

7.87
#45489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45489D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45489D#FFFFFF#000000##FFFFFF
##45489D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1655A0
Deuteranopia (green-blind)
#034E9B
Tritanopia (blue-blind)
#195B6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #45489d;
/* rgb */ color: rgb(69, 72, 157);
/* oklch */ color: oklch(44.6% 0.135 277.9);
Tailwind
colors: {
  custom: {
    50: '#807bba',
    500: '#45489d',
    950: '#000000',
  },
}
SCSS
$custom: #45489d;
$custom-light: #807bba;
$custom-dark: #000000;
JSON
{
  "hex": "#45489d",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 237.955,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44635,
    "c": 0.1354,
    "h": 277.9
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45489D

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

Preview Lab → · Contrast checker → · Palette generator →

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