#45388E#45388E

#45388E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.137 H 285.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#45388E
RGBrgb(69, 56, 142)
HSLhsl(249, 43%, 39%)
HSVhsv(249, 61%, 56%)
CMYKcmyk(51.4%, 60.6%, 0%, 44.3%)
CIE-LABlab(29.53, 29.52, -46.05)
CIE-LCHlch(29.53, 54.69, 302.66°)
OKLaboklab(40.48% 0.0364 -0.1317)
OKLCHoklch(40.48% 0.137 285.4)
XYZxyz(8.7495, 6.0461, 26.2919)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45388E #818E38
analogous
#38568E #45388E #70388E
triadic
#45388E #8E4538 #388E45
tetradic
#45388E #8E3856 #818E38 #388E70
square
#45388E #8E3856 #818E38 #388E70
split-complementary
#45388E #8E7038 #568E38
monochromatic
#1A1536 #302762 #45388E #5C4BB8 #8377C9

Accessibility & contrast

On white

9.50
#45388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#45388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45388E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45388E#FFFFFF#000000##FFFFFF
##45388E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#2A4C5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #45388e;
/* rgb */ color: rgb(69, 56, 142);
/* oklch */ color: oklch(40.5% 0.137 285.4);
Tailwind
colors: {
  custom: {
    50: '#7f6fb0',
    500: '#45388e',
    950: '#000000',
  },
}
SCSS
$custom: #45388e;
$custom-light: #7f6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#45388e",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 249.07,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.13668,
    "h": 285.4
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#45388E
secondary
#A8B26F
accent
#D355C0
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #45388E

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

Preview Lab → · Contrast checker → · Palette generator →

#45388E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva