#3D3E95#3D3E95

#3D3E95 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.140 H 277.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3D3E95
RGBrgb(61, 62, 149)
HSLhsl(239, 42%, 41%)
HSVhsv(239, 59%, 58%)
CMYKcmyk(59.1%, 58.4%, 0%, 41.6%)
CIE-LABlab(30.89, 26.36, -48.16)
CIE-LCHlch(30.89, 54.90, 298.69°)
OKLaboklab(41.48% 0.0192 -0.1382)
OKLCHoklch(41.48% 0.14 277.9)
XYZxyz(9.0702, 6.6066, 29.2252)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3E95 #95943D
analogous
#3D6A95 #3D3E95 #683D95
triadic
#3D3E95 #953D3E #3E953D
tetradic
#3D3E95 #953D6A #95943D #3D9568
square
#3D3E95 #953D6A #95943D #3D9568
split-complementary
#3D3E95 #95683D #6A953D
monochromatic
#191A3E #2B2C6A #3D3E95 #5657BA #8182CB

Accessibility & contrast

On white

9.05
#3D3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3D3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3E95
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3E95#FFFFFF#000000##FFFFFF
##3D3E951.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#045363
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3d3e95;
/* rgb */ color: rgb(61, 62, 149);
/* oklch */ color: oklch(41.5% 0.140 277.9);
Tailwind
colors: {
  custom: {
    50: '#7b73b5',
    500: '#3d3e95',
    950: '#000000',
  },
}
SCSS
$custom: #3d3e95;
$custom-light: #7b73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3e95",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 239.318,
    "s": 41.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.13951,
    "h": 277.9
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#3D3E95
secondary
#B5B578
accent
#D056D2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3D3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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