#3D3C78#3D3C78

#3D3C78 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.9% C 0.099 H 281.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3D3C78
RGBrgb(61, 60, 120)
HSLhsl(241, 33%, 35%)
HSVhsv(241, 50%, 47%)
CMYKcmyk(49.2%, 50%, 0%, 52.9%)
CIE-LABlab(28.33, 17.82, -34.30)
CIE-LCHlch(28.33, 38.66, 297.45°)
OKLaboklab(38.91% 0.0198 -0.0974)
OKLCHoklch(38.91% 0.099 281.5)
XYZxyz(6.9295, 5.5795, 18.4775)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3C78 #77783C
analogous
#3C5978 #3D3C78 #5B3C78
triadic
#3D3C78 #783D3C #3C783D
tetradic
#3D3C78 #783C59 #77783C #3C785B
square
#3D3C78 #783C59 #77783C #3C785B
split-complementary
#3D3C78 #785B3C #59783C
monochromatic
#141326 #28284F #3D3C78 #5250A1 #7675BA

Accessibility & contrast

On white

9.92
#3D3C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3D3C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3C78
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3C78#FFFFFF#000000##FFFFFF
##3D3C781.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#1E4177
Tritanopia (blue-blind)
#284954
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d3c78;
/* rgb */ color: rgb(61, 60, 120);
/* oklch */ color: oklch(38.9% 0.099 281.5);
Tailwind
colors: {
  custom: {
    50: '#77719f',
    500: '#3d3c78',
    950: '#000000',
  },
}
SCSS
$custom: #3d3c78;
$custom-light: #77719f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3c78",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 120
  },
  "hsl": {
    "h": 241,
    "s": 33.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38913,
    "c": 0.09944,
    "h": 281.5
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#3D3C78
secondary
#A3A46C
accent
#C95EC8
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #3D3C78

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

Preview Lab → · Contrast checker → · Palette generator →

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