#45507C#45507C

#45507C is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.074 H 272.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#45507C
RGBrgb(69, 80, 124)
HSLhsl(228, 28%, 38%)
HSVhsv(228, 44%, 49%)
CMYKcmyk(44.4%, 35.5%, 0%, 51.4%)
CIE-LABlab(34.92, 8.09, -26.33)
CIE-LCHlch(34.92, 27.54, 287.07°)
OKLaboklab(44.19% 0.0031 -0.0739)
OKLCHoklch(44.19% 0.074 272.4)
XYZxyz(8.9599, 8.4573, 20.2252)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45507C #7C7145
analogous
#456B7C #45507C #55457C
triadic
#45507C #7C4550 #507C45
tetradic
#45507C #7C456B #7C7145 #457C55
square
#45507C #7C456B #7C7145 #457C55
split-complementary
#45507C #7C5545 #6B7C45
monochromatic
#191D2D #2F3755 #45507C #5B69A3 #828DB9

Accessibility & contrast

On white

7.80
#45507C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#45507C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45507C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45507C#FFFFFF#000000##FFFFFF
##45507C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#335960
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #45507c;
/* rgb */ color: rgb(69, 80, 124);
/* oklch */ color: oklch(44.2% 0.074 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b80a2',
    500: '#45507c',
    950: '#000000',
  },
}
SCSS
$custom: #45507c;
$custom-light: #7b80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#45507c",
  "rgb": {
    "r": 69,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 228,
    "s": 28.497,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.07392,
    "h": 272.4
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#45507C
secondary
#A59C78
accent
#B163C5
background
#F7F7FA
surface
#EEEEF3
border
#C9C9CD
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #45507C

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

Preview Lab → · Contrast checker → · Palette generator →

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