#3D397D#3D397D

#3D397D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.7% C 0.112 H 282.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3D397D
RGBrgb(61, 57, 125)
HSLhsl(244, 37%, 36%)
HSVhsv(244, 54%, 49%)
CMYKcmyk(51.2%, 54.4%, 0%, 51%)
CIE-LABlab(27.84, 21.49, -38.23)
CIE-LCHlch(27.84, 43.85, 299.34°)
OKLaboklab(38.66% 0.0241 -0.109)
OKLCHoklch(38.66% 0.112 282.5)
XYZxyz(7.0882, 5.3987, 20.0666)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D397D #797D39
analogous
#39577D #3D397D #5F397D
triadic
#3D397D #7D3D39 #397D3D
tetradic
#3D397D #7D3957 #797D39 #397D5F
square
#3D397D #7D3957 #797D39 #397D5F
split-complementary
#3D397D #7D5F39 #577D39
monochromatic
#141329 #282653 #3D397D #524CA7 #7672BF

Accessibility & contrast

On white

10.10
#3D397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3D397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D397D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D397D#FFFFFF#000000##FFFFFF
##3D397D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#113F7C
Tritanopia (blue-blind)
#254855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d397d;
/* rgb */ color: rgb(61, 57, 125);
/* oklch */ color: oklch(38.7% 0.112 282.5);
Tailwind
colors: {
  custom: {
    50: '#776fa3',
    500: '#3d397d',
    950: '#000000',
  },
}
SCSS
$custom: #3d397d;
$custom-light: #776fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d397d",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 243.529,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38656,
    "c": 0.11164,
    "h": 282.5
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#3D397D
secondary
#A4A86A
accent
#CD5AC7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3D397D

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

Preview Lab → · Contrast checker → · Palette generator →

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