#45487E#45487E

#45487E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.5% C 0.089 H 279.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#45487E
RGBrgb(69, 72, 126)
HSLhsl(237, 29%, 38%)
HSVhsv(237, 45%, 49%)
CMYKcmyk(45.2%, 42.9%, 0%, 50.6%)
CIE-LABlab(32.71, 13.94, -31.04)
CIE-LCHlch(32.71, 34.03, 294.19°)
OKLaboklab(42.53% 0.0147 -0.0876)
OKLCHoklch(42.53% 0.089 279.5)
XYZxyz(8.5364, 7.4059, 20.7143)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45487E #7E7B45
analogous
#45647E #45487E #5E457E
triadic
#45487E #7E4548 #487E45
tetradic
#45487E #7E4564 #7E7B45 #457E5E
square
#45487E #7E4564 #7E7B45 #457E5E
split-complementary
#45487E #7E5E45 #647E45
monochromatic
#1A1B2F #2F3156 #45487E #5B5FA5 #8386BB

Accessibility & contrast

On white

8.46
#45487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#45487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45487E
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45487E#FFFFFF#000000##FFFFFF
##45487E1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#32535D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #45487e;
/* rgb */ color: rgb(69, 72, 126);
/* oklch */ color: oklch(42.5% 0.089 279.5);
Tailwind
colors: {
  custom: {
    50: '#7c7aa3',
    500: '#45487e',
    950: '#000000',
  },
}
SCSS
$custom: #45487e;
$custom-light: #7c7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#45487e",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 236.842,
    "s": 29.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42527,
    "c": 0.08883,
    "h": 279.5
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#45487E
secondary
#A6A479
accent
#C062C5
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #45487E

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

Preview Lab → · Contrast checker → · Palette generator →

#45487E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva