#45488E#45488E

#45488E is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.6% C 0.113 H 278.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#45488E
RGBrgb(69, 72, 142)
HSLhsl(238, 35%, 41%)
HSVhsv(238, 51%, 56%)
CMYKcmyk(51.4%, 49.3%, 0%, 44.3%)
CIE-LABlab(33.67, 19.17, -39.37)
CIE-LCHlch(33.67, 43.79, 295.96°)
OKLaboklab(43.57% 0.0172 -0.112)
OKLCHoklch(43.57% 0.113 278.7)
XYZxyz(9.6526, 7.8524, 26.5930)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45488E #8E8B45
analogous
#456D8E #45488E #67458E
triadic
#45488E #8E4548 #488E45
tetradic
#45488E #8E456D #8E8B45 #458E67
square
#45488E #8E456D #8E8B45 #458E67
split-complementary
#45488E #8E6745 #6D8E45
monochromatic
#1D1E3C #313365 #45488E #5F62B1 #888BC5

Accessibility & contrast

On white

8.17
#45488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#45488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45488E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45488E#FFFFFF#000000##FFFFFF
##45488E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#285764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #45488e;
/* rgb */ color: rgb(69, 72, 142);
/* oklch */ color: oklch(43.6% 0.113 278.7);
Tailwind
colors: {
  custom: {
    50: '#7e7aaf',
    500: '#45488e',
    950: '#000000',
  },
}
SCSS
$custom: #45488e;
$custom-light: #7e7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#45488e",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 237.534,
    "s": 34.597,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43568,
    "c": 0.11335,
    "h": 278.7
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#45488E
secondary
#B0AE7E
accent
#C65DCB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #45488E

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

Preview Lab → · Contrast checker → · Palette generator →

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