#3D397B#3D397B

#3D397B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.5% C 0.109 H 282.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#3D397B
RGBrgb(61, 57, 123)
HSLhsl(244, 37%, 35%)
HSVhsv(244, 54%, 48%)
CMYKcmyk(50.4%, 53.7%, 0%, 51.8%)
CIE-LABlab(27.70, 20.82, -37.19)
CIE-LCHlch(27.70, 42.62, 299.24°)
OKLaboklab(38.51% 0.024 -0.1059)
OKLCHoklch(38.51% 0.109 282.8)
XYZxyz(6.9617, 5.3481, 19.4005)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D397B #777B39
analogous
#39567B #3D397B #5E397B
triadic
#3D397B #7B3D39 #397B3D
tetradic
#3D397B #7B3956 #777B39 #397B5E
square
#3D397B #7B3956 #777B39 #397B5E
split-complementary
#3D397B #7B5E39 #567B39
monochromatic
#141227 #282651 #3D397B #524CA5 #7671BD

Accessibility & contrast

On white

10.15
#3D397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3D397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D397B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D397B#FFFFFF#000000##FFFFFF
##3D397B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#143F7A
Tritanopia (blue-blind)
#274754
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d397b;
/* rgb */ color: rgb(61, 57, 123);
/* oklch */ color: oklch(38.5% 0.109 282.8);
Tailwind
colors: {
  custom: {
    50: '#776fa2',
    500: '#3d397b',
    950: '#000000',
  },
}
SCSS
$custom: #3d397b;
$custom-light: #776fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d397b",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 243.636,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38509,
    "c": 0.10863,
    "h": 282.8
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#3D397B
secondary
#A3A669
accent
#CD5BC6
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3D397B

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

Preview Lab → · Contrast checker → · Palette generator →

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