#3D3D95#3D3D95

#3D3D95 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.141 H 278.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#3D3D95
RGBrgb(61, 61, 149)
HSLhsl(240, 42%, 41%)
HSVhsv(240, 59%, 58%)
CMYKcmyk(59.1%, 59.1%, 0%, 41.6%)
CIE-LABlab(30.64, 27.01, -48.58)
CIE-LCHlch(30.64, 55.58, 299.08°)
OKLaboklab(41.29% 0.0203 -0.1394)
OKLCHoklch(41.29% 0.141 278.3)
XYZxyz(9.0163, 6.4989, 29.2072)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3D95 #95953D
analogous
#3D6995 #3D3D95 #693D95
triadic
#3D3D95 #953D3D #3D953D
tetradic
#3D3D95 #953D69 #95953D #3D9569
square
#3D3D95 #953D69 #95953D #3D9569
split-complementary
#3D3D95 #95693D #69953D
monochromatic
#19193E #2B2B6A #3D3D95 #5656BA #8181CB

Accessibility & contrast

On white

9.13
#3D3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3D3D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3D95
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3D95#FFFFFF#000000##FFFFFF
##3D3D951.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d3d95;
/* rgb */ color: rgb(61, 61, 149);
/* oklch */ color: oklch(41.3% 0.141 278.3);
Tailwind
colors: {
  custom: {
    50: '#7b72b5',
    500: '#3d3d95',
    950: '#000000',
  },
}
SCSS
$custom: #3d3d95;
$custom-light: #7b72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3d95",
  "rgb": {
    "r": 61,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 41.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.14088,
    "h": 278.3
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#3D3D95
secondary
#B5B578
accent
#D256D2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3D3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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