#3D388B#3D388B

#3D388B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.134 H 281.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3D388B
RGBrgb(61, 56, 139)
HSLhsl(244, 43%, 38%)
HSVhsv(244, 60%, 55%)
CMYKcmyk(56.1%, 59.7%, 0%, 45.5%)
CIE-LABlab(28.60, 26.85, -45.73)
CIE-LCHlch(28.60, 53.03, 300.42°)
OKLaboklab(39.55% 0.0257 -0.1311)
OKLCHoklch(39.55% 0.134 281.1)
XYZxyz(7.9974, 5.6840, 25.0968)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D388B #868B38
analogous
#385C8B #3D388B #66388B
triadic
#3D388B #8B3D38 #388B3D
tetradic
#3D388B #8B385C #868B38 #388B66
square
#3D388B #8B385C #868B38 #388B66
split-complementary
#3D388B #8B6638 #5C8B38
monochromatic
#171534 #2A265F #3D388B #514AB6 #7B76C8

Accessibility & contrast

On white

9.83
#3D388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3D388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D388B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D388B#FFFFFF#000000##FFFFFF
##3D388B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#184B5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d388b;
/* rgb */ color: rgb(61, 56, 139);
/* oklch */ color: oklch(39.5% 0.134 281.1);
Tailwind
colors: {
  custom: {
    50: '#7a6fad',
    500: '#3d388b',
    950: '#000000',
  },
}
SCSS
$custom: #3d388b;
$custom-light: #7a6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d388b",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 243.614,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39545,
    "c": 0.13356,
    "h": 281.1
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#3D388B
secondary
#ADB16E
accent
#D255CB
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D388B

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

Preview Lab → · Contrast checker → · Palette generator →

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