#45487C#45487C

#45487C is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.086 H 279.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#45487C
RGBrgb(69, 72, 124)
HSLhsl(237, 28%, 38%)
HSVhsv(237, 44%, 49%)
CMYKcmyk(44.4%, 41.9%, 0%, 51.4%)
CIE-LABlab(32.60, 13.30, -29.97)
CIE-LCHlch(32.60, 32.79, 293.93°)
OKLaboklab(42.41% 0.0142 -0.0845)
OKLCHoklch(42.41% 0.086 279.6)
XYZxyz(8.4086, 7.3548, 20.0414)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45487C #7C7945
analogous
#45637C #45487C #5D457C
triadic
#45487C #7C4548 #487C45
tetradic
#45487C #7C4563 #7C7945 #457C5D
square
#45487C #7C4563 #7C7945 #457C5D
split-complementary
#45487C #7C5D45 #637C45
monochromatic
#191A2D #2F3155 #45487C #5B5FA3 #8285B9

Accessibility & contrast

On white

8.50
#45487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#45487C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45487C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45487C#FFFFFF#000000##FFFFFF
##45487C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#33525C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #45487c;
/* rgb */ color: rgb(69, 72, 124);
/* oklch */ color: oklch(42.4% 0.086 279.6);
Tailwind
colors: {
  custom: {
    50: '#7c7aa2',
    500: '#45487c',
    950: '#000000',
  },
}
SCSS
$custom: #45487c;
$custom-light: #7c7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#45487c",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 236.727,
    "s": 28.497,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.08569,
    "h": 279.6
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#45487C
secondary
#A5A278
accent
#BF63C5
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #45487C

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

Preview Lab → · Contrast checker → · Palette generator →

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