#3D397C#3D397C

#3D397C is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.6% C 0.110 H 282.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3D397C
RGBrgb(61, 57, 124)
HSLhsl(244, 37%, 35%)
HSVhsv(244, 54%, 49%)
CMYKcmyk(50.8%, 54%, 0%, 51.4%)
CIE-LABlab(27.77, 21.15, -37.71)
CIE-LCHlch(27.77, 43.24, 299.29°)
OKLaboklab(38.58% 0.0241 -0.1075)
OKLCHoklch(38.58% 0.11 282.6)
XYZxyz(7.0246, 5.3732, 19.7319)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D397C #787C39
analogous
#39567C #3D397C #5E397C
triadic
#3D397C #7C3D39 #397C3D
tetradic
#3D397C #7C3956 #787C39 #397C5E
square
#3D397C #7C3956 #787C39 #397C5E
split-complementary
#3D397C #7C5E39 #567C39
monochromatic
#141228 #282652 #3D397C #524CA6 #7671BE

Accessibility & contrast

On white

10.12
#3D397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D397C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D397C#FFFFFF#000000##FFFFFF
##3D397C1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447E
Deuteranopia (green-blind)
#133F7B
Tritanopia (blue-blind)
#264855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d397c;
/* rgb */ color: rgb(61, 57, 124);
/* oklch */ color: oklch(38.6% 0.110 282.6);
Tailwind
colors: {
  custom: {
    50: '#776fa2',
    500: '#3d397c',
    950: '#000000',
  },
}
SCSS
$custom: #3d397c;
$custom-light: #776fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d397c",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 243.582,
    "s": 37.017,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38582,
    "c": 0.11013,
    "h": 282.6
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D397C

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

Preview Lab → · Contrast checker → · Palette generator →

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