#45579F#45579F

#45579F is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.118 H 270.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#45579F
RGBrgb(69, 87, 159)
HSLhsl(228, 39%, 45%)
HSVhsv(228, 57%, 62%)
CMYKcmyk(56.6%, 45.3%, 0%, 37.6%)
CIE-LABlab(38.87, 15.14, -41.35)
CIE-LCHlch(38.87, 44.03, 290.12°)
OKLaboklab(47.86% 0.0017 -0.1177)
OKLCHoklch(47.86% 0.118 270.8)
XYZxyz(12.1184, 10.5839, 34.1985)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45579F #9F8D45
analogous
#45849F #45579F #60459F
triadic
#45579F #9F4557 #579F45
tetradic
#45579F #9F4584 #9F8D45 #459F60
square
#45579F #9F4584 #9F8D45 #459F60
split-complementary
#45579F #9F6045 #849F45
monochromatic
#20284A #324074 #45579F #6576BC #909CCF

Accessibility & contrast

On white

6.74
#45579F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#45579F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45579F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45579F#FFFFFF#000000##FFFFFF
##45579F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#2C589D
Tritanopia (blue-blind)
#116773
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #45579f;
/* rgb */ color: rgb(69, 87, 159);
/* oklch */ color: oklch(47.9% 0.118 270.8);
Tailwind
colors: {
  custom: {
    50: '#8086bc',
    500: '#45579f',
    950: '#000000',
  },
}
SCSS
$custom: #45579f;
$custom-light: #8086bc;
$custom-dark: #000000;
JSON
{
  "hex": "#45579f",
  "rgb": {
    "r": 69,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 228,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47857,
    "c": 0.11769,
    "h": 270.8
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#45579F
secondary
#BAB086
accent
#B858CF
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #45579F

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

Preview Lab → · Contrast checker → · Palette generator →

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