#3D389E#3D389E

#3D389E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.160 H 278.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3D389E
RGBrgb(61, 56, 158)
HSLhsl(243, 48%, 42%)
HSVhsv(243, 65%, 62%)
CMYKcmyk(61.4%, 64.6%, 0%, 38%)
CIE-LABlab(30.13, 33.28, -54.88)
CIE-LCHlch(30.13, 64.18, 301.23°)
OKLaboklab(41.15% 0.0247 -0.158)
OKLCHoklch(41.15% 0.16 278.9)
XYZxyz(9.5082, 6.2884, 33.0538)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D389E #999E38
analogous
#38669E #3D389E #70389E
triadic
#3D389E #9E3D38 #389E3D
tetradic
#3D389E #9E3866 #999E38 #389E70
square
#3D389E #9E3866 #999E38 #389E70
split-complementary
#3D389E #9E7038 #669E38
monochromatic
#1A1844 #2C2871 #3D389E #5752C2 #837FD2

Accessibility & contrast

On white

9.30
#3D389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D389E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D389E#FFFFFF#000000##FFFFFF
##3D389E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d389e;
/* rgb */ color: rgb(61, 56, 158);
/* oklch */ color: oklch(41.1% 0.160 278.9);
Tailwind
colors: {
  custom: {
    50: '#7d6fbb',
    500: '#3d389e',
    950: '#000000',
  },
}
SCSS
$custom: #3d389e;
$custom-light: #7d6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d389e",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 242.941,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.1599,
    "h": 278.9
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D389E

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

Preview Lab → · Contrast checker → · Palette generator →

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