#45389C#45389C

#45389C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.156 H 283.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#45389C
RGBrgb(69, 56, 156)
HSLhsl(248, 47%, 42%)
HSVhsv(248, 64%, 61%)
CMYKcmyk(55.8%, 64.1%, 0%, 38.8%)
CIE-LABlab(30.62, 34.03, -52.83)
CIE-LCHlch(30.62, 62.84, 302.78°)
OKLaboklab(41.62% 0.0356 -0.1517)
OKLCHoklch(41.62% 0.156 283.2)
XYZxyz(9.8673, 6.4933, 32.1794)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45389C #8F9C38
analogous
#385D9C #45389C #77389C
triadic
#45389C #9C4538 #389C45
tetradic
#45389C #9C385D #8F9C38 #389C77
square
#45389C #9C385D #8F9C38 #389C77
split-complementary
#45389C #9C7738 #5D9C38
monochromatic
#1D1842 #31286F #45389C #5F51C0 #897ED1

Accessibility & contrast

On white

9.14
#45389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#45389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45389C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45389C#FFFFFF#000000##FFFFFF
##45389C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#1D5064
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #45389c;
/* rgb */ color: rgb(69, 56, 156);
/* oklch */ color: oklch(41.6% 0.156 283.2);
Tailwind
colors: {
  custom: {
    50: '#816fba',
    500: '#45389c',
    950: '#000000',
  },
}
SCSS
$custom: #45389c;
$custom-light: #816fba;
$custom-dark: #000000;
JSON
{
  "hex": "#45389c",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 247.8,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.15582,
    "h": 283.2
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#45389C
secondary
#B1BA76
accent
#D751C5
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #45389C

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

Preview Lab → · Contrast checker → · Palette generator →

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