#3D397F#3D397F

#3D397F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.8% C 0.115 H 282.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3D397F
RGBrgb(61, 57, 127)
HSLhsl(243, 38%, 36%)
HSVhsv(243, 55%, 50%)
CMYKcmyk(52%, 55.1%, 0%, 50.2%)
CIE-LABlab(27.98, 22.16, -39.26)
CIE-LCHlch(27.98, 45.08, 299.44°)
OKLaboklab(38.81% 0.0243 -0.112)
OKLCHoklch(38.81% 0.115 282.2)
XYZxyz(7.2172, 5.4503, 20.7463)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D397F #7B7F39
analogous
#39587F #3D397F #60397F
triadic
#3D397F #7F3D39 #397F3D
tetradic
#3D397F #7F3958 #7B7F39 #397F60
square
#3D397F #7F3958 #7B7F39 #397F60
split-complementary
#3D397F #7F6039 #587F39
monochromatic
#14132B #292655 #3D397F #514CA9 #7772C0

Accessibility & contrast

On white

10.05
#3D397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3D397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D397F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D397F#FFFFFF#000000##FFFFFF
##3D397F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#0D407D
Tritanopia (blue-blind)
#244956
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d397f;
/* rgb */ color: rgb(61, 57, 127);
/* oklch */ color: oklch(38.8% 0.115 282.2);
Tailwind
colors: {
  custom: {
    50: '#786fa5',
    500: '#3d397f',
    950: '#000000',
  },
}
SCSS
$custom: #3d397f;
$custom-light: #786fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d397f",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 243.429,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.11463,
    "h": 282.2
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#3D397F
secondary
#A6A96B
accent
#CE5AC7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3D397F

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

Preview Lab → · Contrast checker → · Palette generator →

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