#45507B#45507B

#45507B is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.072 H 272.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#45507B
RGBrgb(69, 80, 123)
HSLhsl(228, 28%, 38%)
HSVhsv(228, 44%, 48%)
CMYKcmyk(43.9%, 35%, 0%, 51.8%)
CIE-LABlab(34.87, 7.77, -25.79)
CIE-LCHlch(34.87, 26.93, 286.77°)
OKLaboklab(44.13% 0.0028 -0.0723)
OKLCHoklch(44.13% 0.072 272.2)
XYZxyz(8.8970, 8.4321, 19.8938)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45507B #7B7045
analogous
#456B7B #45507B #55457B
triadic
#45507B #7B4550 #507B45
tetradic
#45507B #7B456B #7B7045 #457B55
square
#45507B #7B456B #7B7045 #457B55
split-complementary
#45507B #7B5545 #6B7B45
monochromatic
#191D2D #2F3654 #45507B #5B69A2 #828DB9

Accessibility & contrast

On white

7.82
#45507B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45507B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45507B#FFFFFF#000000##FFFFFF
##45507B1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547D
Deuteranopia (green-blind)
#3C507A
Tritanopia (blue-blind)
#335960
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #45507b;
/* rgb */ color: rgb(69, 80, 123);
/* oklch */ color: oklch(44.1% 0.072 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b80a1',
    500: '#45507b',
    950: '#000000',
  },
}
SCSS
$custom: #45507b;
$custom-light: #7b80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#45507b",
  "rgb": {
    "r": 69,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 227.778,
    "s": 28.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4413,
    "c": 0.07235,
    "h": 272.2
  },
  "luminance": 0.08433
}

Semantic roles & 50–950 ramp

primary
#45507B
secondary
#A49B78
accent
#B163C4
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#090A0F
muted
#7B7C7E

Preview Lab

Preview with #45507B

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

Preview Lab → · Contrast checker → · Palette generator →

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