#45517C#45517C

#45517C is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.073 H 271.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#45517C
RGBrgb(69, 81, 124)
HSLhsl(227, 28%, 38%)
HSVhsv(227, 44%, 49%)
CMYKcmyk(44.4%, 34.7%, 0%, 51.4%)
CIE-LABlab(35.21, 7.44, -25.86)
CIE-LCHlch(35.21, 26.91, 286.05°)
OKLaboklab(44.41% 0.0017 -0.0725)
OKLCHoklch(44.41% 0.073 271.3)
XYZxyz(9.0336, 8.6048, 20.2498)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45517C #7C7045
analogous
#456C7C #45517C #54457C
triadic
#45517C #7C4551 #517C45
tetradic
#45517C #7C456C #7C7045 #457C54
square
#45517C #7C456C #7C7045 #457C54
split-complementary
#45517C #7C5445 #6C7C45
monochromatic
#191E2D #2F3755 #45517C #5B6BA3 #828EB9

Accessibility & contrast

On white

7.72
#45517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#45517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45517C
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45517C#FFFFFF#000000##FFFFFF
##45517C1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557E
Deuteranopia (green-blind)
#3D517B
Tritanopia (blue-blind)
#325A61
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #45517c;
/* rgb */ color: rgb(69, 81, 124);
/* oklch */ color: oklch(44.4% 0.073 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b81a2',
    500: '#45517c',
    950: '#000000',
  },
}
SCSS
$custom: #45517c;
$custom-light: #7b81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#45517c",
  "rgb": {
    "r": 69,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 226.909,
    "s": 28.497,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.07254,
    "h": 271.3
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#45517C
secondary
#A59B78
accent
#AF63C5
background
#F7F7FA
surface
#EEEEF3
border
#C9C9CD
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #45517C

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

Preview Lab → · Contrast checker → · Palette generator →

#45517C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva