#3D388D#3D388D

#3D388D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.136 H 280.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3D388D
RGBrgb(61, 56, 141)
HSLhsl(244, 43%, 39%)
HSVhsv(244, 60%, 55%)
CMYKcmyk(56.7%, 60.3%, 0%, 44.7%)
CIE-LABlab(28.75, 27.53, -46.72)
CIE-LCHlch(28.75, 54.22, 300.51°)
OKLaboklab(39.71% 0.0256 -0.134)
OKLCHoklch(39.71% 0.136 280.8)
XYZxyz(8.1449, 5.7430, 25.8735)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D388D #888D38
analogous
#385D8D #3D388D #67388D
triadic
#3D388D #8D3D38 #388D3D
tetradic
#3D388D #8D385D #888D38 #388D67
square
#3D388D #8D385D #888D38 #388D67
split-complementary
#3D388D #8D6738 #5D8D38
monochromatic
#171535 #2A2761 #3D388D #514BB7 #7B77C9

Accessibility & contrast

On white

9.77
#3D388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D388D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D388D#FFFFFF#000000##FFFFFF
##3D388D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#164C5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d388d;
/* rgb */ color: rgb(61, 56, 141);
/* oklch */ color: oklch(39.7% 0.136 280.8);
Tailwind
colors: {
  custom: {
    50: '#7a6faf',
    500: '#3d388d',
    950: '#000000',
  },
}
SCSS
$custom: #3d388d;
$custom-light: #7a6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d388d",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 243.529,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.1364,
    "h": 280.8
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#3D388D
secondary
#AEB26F
accent
#D355CB
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D388D

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

Preview Lab → · Contrast checker → · Palette generator →

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