#454787#454787

#454787 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.9% C 0.104 H 279.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#454787
RGBrgb(69, 71, 135)
HSLhsl(238, 32%, 40%)
HSVhsv(238, 49%, 53%)
CMYKcmyk(48.9%, 47.4%, 0%, 47.1%)
CIE-LABlab(32.96, 17.51, -36.21)
CIE-LCHlch(32.96, 40.22, 295.81°)
OKLaboklab(42.89% 0.0176 -0.1027)
OKLCHoklch(42.89% 0.104 279.7)
XYZxyz(9.0793, 7.5205, 23.8902)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#454787 #878545
analogous
#456887 #454787 #644587
triadic
#454787 #874547 #478745
tetradic
#454787 #874568 #878545 #458764
square
#454787 #874568 #878545 #458764
split-complementary
#454787 #876445 #688745
monochromatic
#1C1C36 #30325F #454787 #5D5FAC #8587C1

Accessibility & contrast

On white

8.39
#454787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#454787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #454787
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##454787#FFFFFF#000000##FFFFFF
##4547871.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#284B86
Tritanopia (blue-blind)
#2D5560
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #454787;
/* rgb */ color: rgb(69, 71, 135);
/* oklch */ color: oklch(42.9% 0.104 279.7);
Tailwind
colors: {
  custom: {
    50: '#7d7aaa',
    500: '#454787',
    950: '#000000',
  },
}
SCSS
$custom: #454787;
$custom-light: #7d7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#454787",
  "rgb": {
    "r": 69,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 238.182,
    "s": 32.353,
    "l": 40
  },
  "oklch": {
    "l": 0.42889,
    "c": 0.10424,
    "h": 279.7
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#454787
secondary
#ACAB7C
accent
#C55FC9
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #454787

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

Preview Lab → · Contrast checker → · Palette generator →

#454787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva