#3D3E7B#3D3E7B

#3D3E7B is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.101 H 280.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3D3E7B
RGBrgb(61, 62, 123)
HSLhsl(239, 34%, 36%)
HSVhsv(239, 50%, 48%)
CMYKcmyk(50.4%, 49.6%, 0%, 51.8%)
CIE-LABlab(29.07, 17.48, -34.99)
CIE-LCHlch(29.07, 39.12, 296.54°)
OKLaboklab(39.54% 0.0176 -0.0995)
OKLCHoklch(39.54% 0.101 280)
XYZxyz(7.2212, 5.8670, 19.4870)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3E7B #7B7A3D
analogous
#3D5D7B #3D3E7B #5B3D7B
triadic
#3D3E7B #7B3D3E #3E7B3D
tetradic
#3D3E7B #7B3D5D #7B7A3D #3D7B5B
square
#3D3E7B #7B3D5D #7B7A3D #3D7B5B
split-complementary
#3D3E7B #7B5B3D #5D7B3D
monochromatic
#141529 #292952 #3D3E7B #5153A4 #7778BC

Accessibility & contrast

On white

9.66
#3D3E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3D3E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3E7B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3E7B#FFFFFF#000000##FFFFFF
##3D3E7B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#1F427A
Tritanopia (blue-blind)
#264B56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d3e7b;
/* rgb */ color: rgb(61, 62, 123);
/* oklch */ color: oklch(39.5% 0.101 280.0);
Tailwind
colors: {
  custom: {
    50: '#7773a1',
    500: '#3d3e7b',
    950: '#000000',
  },
}
SCSS
$custom: #3d3e7b;
$custom-light: #7773a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3e7b",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 239.032,
    "s": 33.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3954,
    "c": 0.101,
    "h": 280
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#3D3E7B
secondary
#A6A56E
accent
#C85ECA
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #3D3E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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