#45408E#45408E

#45408E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.125 H 282.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#45408E
RGBrgb(69, 64, 142)
HSLhsl(244, 38%, 40%)
HSVhsv(244, 55%, 56%)
CMYKcmyk(51.4%, 54.9%, 0%, 44.3%)
CIE-LABlab(31.54, 24.39, -42.79)
CIE-LCHlch(31.54, 49.25, 299.68°)
OKLaboklab(41.97% 0.027 -0.1221)
OKLCHoklch(41.97% 0.125 282.5)
XYZxyz(9.1686, 6.8845, 26.4317)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45408E #898E40
analogous
#40628E #45408E #6C408E
triadic
#45408E #8E4540 #408E45
tetradic
#45408E #8E4062 #898E40 #408E6C
square
#45408E #8E4062 #898E40 #408E6C
split-complementary
#45408E #8E6C40 #628E40
monochromatic
#1C1A3A #312D64 #45408E #5E58B4 #8682C7

Accessibility & contrast

On white

8.83
#45408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#45408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45408E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45408E#FFFFFF#000000##FFFFFF
##45408E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#0E488C
Tritanopia (blue-blind)
#295160
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #45408e;
/* rgb */ color: rgb(69, 64, 142);
/* oklch */ color: oklch(42.0% 0.125 282.5);
Tailwind
colors: {
  custom: {
    50: '#7e75b0',
    500: '#45408e',
    950: '#000000',
  },
}
SCSS
$custom: #45408e;
$custom-light: #7e75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#45408e",
  "rgb": {
    "r": 69,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 243.846,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.12509,
    "h": 282.5
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#45408E
secondary
#ADB179
accent
#CE5AC6
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #45408E

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

Preview Lab → · Contrast checker → · Palette generator →

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