#45488F#45488F

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

Color values

HEX#45488F
RGBrgb(69, 72, 143)
HSLhsl(238, 35%, 42%)
HSVhsv(238, 52%, 56%)
CMYKcmyk(51.7%, 49.7%, 0%, 43.9%)
CIE-LABlab(33.74, 19.50, -39.88)
CIE-LCHlch(33.74, 44.39, 296.06°)
OKLaboklab(43.64% 0.0173 -0.1135)
OKLCHoklch(43.64% 0.115 278.7)
XYZxyz(9.7280, 7.8825, 26.9902)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45488F #8F8C45
analogous
#456D8F #45488F #67458F
triadic
#45488F #8F4548 #488F45
tetradic
#45488F #8F456D #8F8C45 #458F67
square
#45488F #8F456D #8F8C45 #458F67
split-complementary
#45488F #8F6745 #6D8F45
monochromatic
#1D1E3C #313366 #45488F #5F63B2 #898BC6

Accessibility & contrast

On white

8.15
#45488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#45488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45488F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45488F#FFFFFF#000000##FFFFFF
##45488F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#214D8D
Tritanopia (blue-blind)
#275764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #45488f;
/* rgb */ color: rgb(69, 72, 143);
/* oklch */ color: oklch(43.6% 0.115 278.7);
Tailwind
colors: {
  custom: {
    50: '#7e7ab0',
    500: '#45488f',
    950: '#000000',
  },
}
SCSS
$custom: #45488f;
$custom-light: #7e7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#45488f",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 237.568,
    "s": 34.906,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43636,
    "c": 0.11484,
    "h": 278.7
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#45488F
secondary
#B1AF7F
accent
#C75DCB
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #45488F

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

Preview Lab → · Contrast checker → · Palette generator →

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