#45489F#45489F

#45489F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.138 H 277.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#45489F
RGBrgb(69, 72, 159)
HSLhsl(238, 39%, 45%)
HSVhsv(238, 57%, 62%)
CMYKcmyk(56.6%, 54.7%, 0%, 37.6%)
CIE-LABlab(34.81, 24.87, -47.87)
CIE-LCHlch(34.81, 53.94, 297.45°)
OKLaboklab(44.78% 0.0187 -0.137)
OKLCHoklch(44.78% 0.138 277.8)
XYZxyz(11.0276, 8.4024, 33.8349)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45489F #9F9C45
analogous
#45759F #45489F #6F459F
triadic
#45489F #9F4548 #489F45
tetradic
#45489F #9F4575 #9F9C45 #459F6F
square
#45489F #9F4575 #9F9C45 #459F6F
split-complementary
#45489F #9F6F45 #759F45
monochromatic
#20214A #323574 #45489F #6568BC #9092CF

Accessibility & contrast

On white

7.83
#45489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#45489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45489F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45489F#FFFFFF#000000##FFFFFF
##45489F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#165C6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #45489f;
/* rgb */ color: rgb(69, 72, 159);
/* oklch */ color: oklch(44.8% 0.138 277.8);
Tailwind
colors: {
  custom: {
    50: '#817bbc',
    500: '#45489f',
    950: '#000000',
  },
}
SCSS
$custom: #45489f;
$custom-light: #817bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#45489f",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 238,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.13826,
    "h": 277.8
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#45489F
secondary
#BAB886
accent
#CB58CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #45489F

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

Preview Lab → · Contrast checker → · Palette generator →

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