#3D397A#3D397A

#3D397A is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.4% C 0.107 H 282.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3D397A
RGBrgb(61, 57, 122)
HSLhsl(244, 36%, 35%)
HSVhsv(244, 53%, 48%)
CMYKcmyk(50%, 53.3%, 0%, 52.2%)
CIE-LABlab(27.64, 20.49, -36.67)
CIE-LCHlch(27.64, 42.00, 299.19°)
OKLaboklab(38.44% 0.0239 -0.1044)
OKLCHoklch(38.44% 0.107 282.9)
XYZxyz(6.8994, 5.3232, 19.0725)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D397A #767A39
analogous
#39567A #3D397A #5D397A
triadic
#3D397A #7A3D39 #397A3D
tetradic
#3D397A #7A3956 #767A39 #397A5D
square
#3D397A #7A3956 #767A39 #397A5D
split-complementary
#3D397A #7A5D39 #567A39
monochromatic
#131227 #282650 #3D397A #524CA4 #7571BD

Accessibility & contrast

On white

10.17
#3D397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3D397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D397A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D397A#FFFFFF#000000##FFFFFF
##3D397A1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437C
Deuteranopia (green-blind)
#163F79
Tritanopia (blue-blind)
#274754
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d397a;
/* rgb */ color: rgb(61, 57, 122);
/* oklch */ color: oklch(38.4% 0.107 282.9);
Tailwind
colors: {
  custom: {
    50: '#776fa1',
    500: '#3d397a',
    950: '#000000',
  },
}
SCSS
$custom: #3d397a;
$custom-light: #776fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d397a",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 243.692,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38437,
    "c": 0.10712,
    "h": 282.9
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#3D397A
secondary
#A2A669
accent
#CC5BC5
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #3D397A

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

Preview Lab → · Contrast checker → · Palette generator →

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