#3D396F#3D396F

#3D396F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.090 H 284.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3D396F
RGBrgb(61, 57, 111)
HSLhsl(244, 32%, 33%)
HSVhsv(244, 49%, 44%)
CMYKcmyk(45%, 48.6%, 0%, 56.5%)
CIE-LABlab(26.92, 16.87, -30.84)
CIE-LCHlch(26.92, 35.15, 298.68°)
OKLaboklab(37.67% 0.0227 -0.0873)
OKLCHoklch(37.67% 0.09 284.6)
XYZxyz(6.2560, 5.0658, 15.6840)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D396F #6B6F39
analogous
#39506F #3D396F #58396F
triadic
#3D396F #6F3D39 #396F3D
tetradic
#3D396F #6F3950 #6B6F39 #396F58
square
#3D396F #6F3950 #6B6F39 #396F58
split-complementary
#3D396F #6F5839 #506F39
monochromatic
#110F1E #272447 #3D396F #534E97 #736EB4

Accessibility & contrast

On white

10.43
#3D396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D396F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D396F#FFFFFF#000000##FFFFFF
##3D396F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#223E6E
Tritanopia (blue-blind)
#2E444E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d396f;
/* rgb */ color: rgb(61, 57, 111);
/* oklch */ color: oklch(37.7% 0.090 284.6);
Tailwind
colors: {
  custom: {
    50: '#766f99',
    500: '#3d396f',
    950: '#000000',
  },
}
SCSS
$custom: #3d396f;
$custom-light: #766f99;
$custom-dark: #000000;
JSON
{
  "hex": "#3d396f",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 244.444,
    "s": 32.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37668,
    "c": 0.09021,
    "h": 284.6
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#3D396F
secondary
#9A9E66
accent
#C85FC1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #3D396F

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

Preview Lab → · Contrast checker → · Palette generator →

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