#45398F#45398F

#45398F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.137 H 284.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#45398F
RGBrgb(69, 57, 143)
HSLhsl(248, 43%, 39%)
HSVhsv(248, 60%, 56%)
CMYKcmyk(51.7%, 60.1%, 0%, 43.9%)
CIE-LABlab(29.85, 29.21, -46.14)
CIE-LCHlch(29.85, 54.61, 302.33°)
OKLaboklab(40.73% 0.0352 -0.132)
OKLCHoklch(40.73% 0.137 284.9)
XYZxyz(8.8738, 6.1742, 26.7054)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45398F #838F39
analogous
#39588F #45398F #70398F
triadic
#45398F #8F4539 #398F45
tetradic
#45398F #8F3958 #838F39 #398F70
square
#45398F #8F3958 #838F39 #398F70
split-complementary
#45398F #8F7039 #588F39
monochromatic
#1B1637 #302863 #45398F #5C4DB8 #8479CA

Accessibility & contrast

On white

9.40
#45398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#45398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45398F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45398F#FFFFFF#000000##FFFFFF
##45398F1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#294D5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #45398f;
/* rgb */ color: rgb(69, 57, 143);
/* oklch */ color: oklch(40.7% 0.137 284.9);
Tailwind
colors: {
  custom: {
    50: '#7f70b0',
    500: '#45398f',
    950: '#000000',
  },
}
SCSS
$custom: #45398f;
$custom-light: #7f70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#45398f",
  "rgb": {
    "r": 69,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 248.372,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40734,
    "c": 0.13666,
    "h": 284.9
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#45398F
secondary
#AAB371
accent
#D355C1
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #45398F

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

Preview Lab → · Contrast checker → · Palette generator →

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