#3D3A95#3D3A95

#3D3A95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.145 H 279.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3D3A95
RGBrgb(61, 58, 149)
HSLhsl(242, 44%, 41%)
HSVhsv(242, 61%, 58%)
CMYKcmyk(59.1%, 61.1%, 0%, 41.6%)
CIE-LABlab(29.88, 28.95, -49.80)
CIE-LCHlch(29.88, 57.61, 300.17°)
OKLaboklab(40.74% 0.0233 -0.143)
OKLCHoklch(40.74% 0.145 279.3)
XYZxyz(8.8606, 6.1875, 29.1553)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3A95 #92953A
analogous
#3A6495 #3D3A95 #6A3A95
triadic
#3D3A95 #953D3A #3A953D
tetradic
#3D3A95 #953A64 #92953A #3A956A
square
#3D3A95 #953A64 #92953A #3A956A
split-complementary
#3D3A95 #956A3A #64953A
monochromatic
#19183D #2B2969 #3D3A95 #5451BB #807DCC

Accessibility & contrast

On white

9.39
#3D3A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3D3A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3A95
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3A95#FFFFFF#000000##FFFFFF
##3D3A951.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#055061
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d3a95;
/* rgb */ color: rgb(61, 58, 149);
/* oklch */ color: oklch(40.7% 0.145 279.3);
Tailwind
colors: {
  custom: {
    50: '#7b70b5',
    500: '#3d3a95',
    950: '#000000',
  },
}
SCSS
$custom: #3d3a95;
$custom-light: #7b70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3a95",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 241.978,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40735,
    "c": 0.14493,
    "h": 279.3
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#3D3A95
secondary
#B4B675
accent
#D454CF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3D3A95

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

Preview Lab → · Contrast checker → · Palette generator →

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