#45398D#45398D

#45398D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.134 H 285.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#45398D
RGBrgb(69, 57, 141)
HSLhsl(249, 42%, 39%)
HSVhsv(249, 60%, 55%)
CMYKcmyk(51.1%, 59.6%, 0%, 44.7%)
CIE-LABlab(29.70, 28.56, -45.15)
CIE-LCHlch(29.70, 53.43, 302.32°)
OKLaboklab(40.58% 0.0353 -0.1291)
OKLCHoklch(40.58% 0.134 285.3)
XYZxyz(8.7237, 6.1141, 25.9146)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45398D #818D39
analogous
#39578D #45398D #6F398D
triadic
#45398D #8D4539 #398D45
tetradic
#45398D #8D3957 #818D39 #398D6F
square
#45398D #8D3957 #818D39 #398D6F
split-complementary
#45398D #8D6F39 #578D39
monochromatic
#1A1636 #302761 #45398D #5C4CB7 #8378C8

Accessibility & contrast

On white

9.45
#45398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#45398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45398D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45398D#FFFFFF#000000##FFFFFF
##45398D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#2B4C5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #45398d;
/* rgb */ color: rgb(69, 57, 141);
/* oklch */ color: oklch(40.6% 0.134 285.3);
Tailwind
colors: {
  custom: {
    50: '#7f70af',
    500: '#45398d',
    950: '#000000',
  },
}
SCSS
$custom: #45398d;
$custom-light: #7f70af;
$custom-dark: #000000;
JSON
{
  "hex": "#45398d",
  "rgb": {
    "r": 69,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 248.571,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.13385,
    "h": 285.3
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#45398D
secondary
#A8B270
accent
#D256C0
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #45398D

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

Preview Lab → · Contrast checker → · Palette generator →

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