#3D3B79#3D3B79

#3D3B79 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.8% C 0.103 H 282.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3D3B79
RGBrgb(61, 59, 121)
HSLhsl(242, 34%, 35%)
HSVhsv(242, 51%, 47%)
CMYKcmyk(49.6%, 51.2%, 0%, 52.5%)
CIE-LABlab(28.11, 18.82, -35.27)
CIE-LCHlch(28.11, 39.98, 298.08°)
OKLaboklab(38.77% 0.0212 -0.1003)
OKLCHoklch(38.77% 0.103 282)
XYZxyz(6.9386, 5.5002, 18.7815)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3B79 #77793B
analogous
#3B5879 #3D3B79 #5C3B79
triadic
#3D3B79 #793D3B #3B793D
tetradic
#3D3B79 #793B58 #77793B #3B795C
square
#3D3B79 #793B58 #77793B #3B795C
split-complementary
#3D3B79 #795C3B #58793B
monochromatic
#141327 #282750 #3D3B79 #524FA2 #7673BB

Accessibility & contrast

On white

10.00
#3D3B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3D3B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3B79
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3B79#FFFFFF#000000##FFFFFF
##3D3B791.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457B
Deuteranopia (green-blind)
#1B4078
Tritanopia (blue-blind)
#284854
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d3b79;
/* rgb */ color: rgb(61, 59, 121);
/* oklch */ color: oklch(38.8% 0.103 282.0);
Tailwind
colors: {
  custom: {
    50: '#7771a0',
    500: '#3d3b79',
    950: '#000000',
  },
}
SCSS
$custom: #3d3b79;
$custom-light: #7771a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3b79",
  "rgb": {
    "r": 61,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 241.935,
    "s": 34.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38774,
    "c": 0.10252,
    "h": 282
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#3D3B79
secondary
#A3A56B
accent
#CB5DC7
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #3D3B79

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

Preview Lab → · Contrast checker → · Palette generator →

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