#3D377E#3D377E

#3D377E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.3% C 0.116 H 283.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#3D377E
RGBrgb(61, 55, 126)
HSLhsl(245, 39%, 35%)
HSVhsv(245, 56%, 49%)
CMYKcmyk(51.6%, 56.3%, 0%, 50.6%)
CIE-LABlab(27.38, 23.14, -39.59)
CIE-LCHlch(27.38, 45.86, 300.31°)
OKLaboklab(38.34% 0.0267 -0.113)
OKLCHoklch(38.34% 0.116 283.3)
XYZxyz(7.0554, 5.2305, 20.3724)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D377E #787E37
analogous
#37547E #3D377E #60377E
triadic
#3D377E #7E3D37 #377E3D
tetradic
#3D377E #7E3754 #787E37 #377E60
square
#3D377E #7E3754 #787E37 #377E60
split-complementary
#3D377E #7E6037 #547E37
monochromatic
#141229 #282453 #3D377E #524AA9 #766FC0

Accessibility & contrast

On white

10.26
#3D377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3D377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D377E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D377E#FFFFFF#000000##FFFFFF
##3D377E1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4380
Deuteranopia (green-blind)
#083E7C
Tritanopia (blue-blind)
#254755
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d377e;
/* rgb */ color: rgb(61, 55, 126);
/* oklch */ color: oklch(38.3% 0.116 283.3);
Tailwind
colors: {
  custom: {
    50: '#786ea4',
    500: '#3d377e',
    950: '#000000',
  },
}
SCSS
$custom: #3d377e;
$custom-light: #786ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d377e",
  "rgb": {
    "r": 61,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 245.07,
    "s": 39.227,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38335,
    "c": 0.11613,
    "h": 283.3
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#3D377E
secondary
#A3A968
accent
#CF59C5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3D377E

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

Preview Lab → · Contrast checker → · Palette generator →

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