#45458F#45458F

#45458F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 43.0% C 0.119 H 280.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#45458F
RGBrgb(69, 69, 143)
HSLhsl(240, 35%, 42%)
HSVhsv(240, 52%, 56%)
CMYKcmyk(51.7%, 51.7%, 0%, 43.9%)
CIE-LABlab(32.93, 21.46, -41.18)
CIE-LCHlch(32.93, 46.44, 297.53°)
OKLaboklab(43.03% 0.021 -0.1174)
OKLCHoklch(43.03% 0.119 280.1)
XYZxyz(9.5388, 7.5041, 26.9271)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45458F #8F8F45
analogous
#456A8F #45458F #6A458F
triadic
#45458F #8F4545 #458F45
tetradic
#45458F #8F456A #8F8F45 #458F6A
square
#45458F #8F456A #8F8F45 #458F6A
split-complementary
#45458F #8F6A45 #6A8F45
monochromatic
#1D1D3C #313166 #45458F #5F5FB2 #8989C6

Accessibility & contrast

On white

8.40
#45458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#45458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45458F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45458F#FFFFFF#000000##FFFFFF
##45458F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#1A4B8D
Tritanopia (blue-blind)
#285563
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #45458f;
/* rgb */ color: rgb(69, 69, 143);
/* oklch */ color: oklch(43.0% 0.119 280.1);
Tailwind
colors: {
  custom: {
    50: '#7e78b0',
    500: '#45458f',
    950: '#000000',
  },
}
SCSS
$custom: #45458f;
$custom-light: #7e78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#45458f",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 34.906,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43026,
    "c": 0.11923,
    "h": 280.1
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#45458F
secondary
#B1B17F
accent
#CB5DCB
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #45458F

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

Preview Lab → · Contrast checker → · Palette generator →

#45458F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva