#45478F#45478F

#45478F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.4% C 0.116 H 279.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#45478F
RGBrgb(69, 71, 143)
HSLhsl(238, 35%, 42%)
HSVhsv(238, 52%, 56%)
CMYKcmyk(51.7%, 50.3%, 0%, 43.9%)
CIE-LABlab(33.47, 20.15, -40.32)
CIE-LCHlch(33.47, 45.07, 296.56°)
OKLaboklab(43.43% 0.0186 -0.1148)
OKLCHoklch(43.43% 0.116 279.2)
XYZxyz(9.6639, 7.7543, 26.9688)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45478F #8F8D45
analogous
#456C8F #45478F #68458F
triadic
#45478F #8F4547 #478F45
tetradic
#45478F #8F456C #8F8D45 #458F68
square
#45478F #8F456C #8F8D45 #458F68
split-complementary
#45478F #8F6845 #6C8F45
monochromatic
#1D1E3C #313366 #45478F #5F62B2 #898AC6

Accessibility & contrast

On white

8.23
#45478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#45478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45478F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45478F#FFFFFF#000000##FFFFFF
##45478F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#285764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #45478f;
/* rgb */ color: rgb(69, 71, 143);
/* oklch */ color: oklch(43.4% 0.116 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e7ab0',
    500: '#45478f',
    950: '#000000',
  },
}
SCSS
$custom: #45478f;
$custom-light: #7e7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#45478f",
  "rgb": {
    "r": 69,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 238.378,
    "s": 34.906,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43431,
    "c": 0.1163,
    "h": 279.2
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#45478F
secondary
#B1B07F
accent
#C85DCB
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #45478F

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

Preview Lab → · Contrast checker → · Palette generator →

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