#3D388F#3D388F

#3D388F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.139 H 280.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3D388F
RGBrgb(61, 56, 143)
HSLhsl(243, 44%, 39%)
HSVhsv(243, 61%, 56%)
CMYKcmyk(57.3%, 60.8%, 0%, 43.9%)
CIE-LABlab(28.91, 28.21, -47.70)
CIE-LCHlch(28.91, 55.41, 300.60°)
OKLaboklab(39.87% 0.0256 -0.1369)
OKLCHoklch(39.87% 0.139 280.6)
XYZxyz(8.2950, 5.8031, 26.6643)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D388F #8A8F38
analogous
#385F8F #3D388F #69388F
triadic
#3D388F #8F3D38 #388F3D
tetradic
#3D388F #8F385F #8A8F38 #388F69
square
#3D388F #8F385F #8A8F38 #388F69
split-complementary
#3D388F #8F6938 #5F8F38
monochromatic
#171637 #2A2763 #3D388F #524BB9 #7C77CA

Accessibility & contrast

On white

9.72
#3D388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3D388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D388F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D388F#FFFFFF#000000##FFFFFF
##3D388F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#134D5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d388f;
/* rgb */ color: rgb(61, 56, 143);
/* oklch */ color: oklch(39.9% 0.139 280.6);
Tailwind
colors: {
  custom: {
    50: '#7b6fb0',
    500: '#3d388f',
    950: '#000000',
  },
}
SCSS
$custom: #3d388f;
$custom-light: #7b6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d388f",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 243.448,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.13923,
    "h": 280.6
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#3D388F
secondary
#AFB370
accent
#D354CC
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3D388F

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

Preview Lab → · Contrast checker → · Palette generator →

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