#45479F#45479F

#45479F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.140 H 278.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#45479F
RGBrgb(69, 71, 159)
HSLhsl(239, 39%, 45%)
HSVhsv(239, 57%, 62%)
CMYKcmyk(56.6%, 55.3%, 0%, 37.6%)
CIE-LABlab(34.55, 25.52, -48.29)
CIE-LCHlch(34.55, 54.61, 297.85°)
OKLaboklab(44.59% 0.0197 -0.1383)
OKLCHoklch(44.59% 0.14 278.1)
XYZxyz(10.9635, 8.2742, 33.8135)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45479F #9F9D45
analogous
#45749F #45479F #70459F
triadic
#45479F #9F4547 #479F45
tetradic
#45479F #9F4574 #9F9D45 #459F70
square
#45479F #9F4574 #9F9D45 #459F70
split-complementary
#45479F #9F7045 #749F45
monochromatic
#20214A #323474 #45479F #6567BC #9091CF

Accessibility & contrast

On white

7.91
#45479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#45479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45479F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45479F#FFFFFF#000000##FFFFFF
##45479F1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#165B6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #45479f;
/* rgb */ color: rgb(69, 71, 159);
/* oklch */ color: oklch(44.6% 0.140 278.1);
Tailwind
colors: {
  custom: {
    50: '#817abc',
    500: '#45479f',
    950: '#000000',
  },
}
SCSS
$custom: #45479f;
$custom-light: #817abc;
$custom-dark: #000000;
JSON
{
  "hex": "#45479f",
  "rgb": {
    "r": 69,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 238.667,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44589,
    "c": 0.13965,
    "h": 278.1
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#45479F
secondary
#BAB986
accent
#CD58CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #45479F

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

Preview Lab → · Contrast checker → · Palette generator →

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