#3D389F#3D389F

#3D389F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.161 H 278.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3D389F
RGBrgb(61, 56, 159)
HSLhsl(243, 48%, 42%)
HSVhsv(243, 65%, 62%)
CMYKcmyk(61.6%, 64.8%, 0%, 37.6%)
CIE-LABlab(30.21, 33.62, -55.35)
CIE-LCHlch(30.21, 64.76, 301.27°)
OKLaboklab(41.23% 0.0246 -0.1594)
OKLCHoklch(41.23% 0.161 278.8)
XYZxyz(9.5947, 6.3229, 33.5090)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D389F #9A9F38
analogous
#38669F #3D389F #71389F
triadic
#3D389F #9F3D38 #389F3D
tetradic
#3D389F #9F3866 #9A9F38 #389F71
square
#3D389F #9F3866 #9A9F38 #389F71
split-complementary
#3D389F #9F7138 #669F38
monochromatic
#1A1844 #2C2872 #3D389F #5852C2 #837FD2

Accessibility & contrast

On white

9.27
#3D389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3D389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D389F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D389F#FFFFFF#000000##FFFFFF
##3D389F1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d389f;
/* rgb */ color: rgb(61, 56, 159);
/* oklch */ color: oklch(41.2% 0.161 278.8);
Tailwind
colors: {
  custom: {
    50: '#7d6fbc',
    500: '#3d389f',
    950: '#000000',
  },
}
SCSS
$custom: #3d389f;
$custom-light: #7d6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d389f",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 242.913,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.16125,
    "h": 278.8
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#3D389F
secondary
#B8BB77
accent
#D750D1
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D389F

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

Preview Lab → · Contrast checker → · Palette generator →

#3D389F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva