#3D3AA9#3D3AA9

#3D3AA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.172 H 277.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3D3AA9
RGBrgb(61, 58, 169)
HSLhsl(242, 49%, 45%)
HSVhsv(242, 66%, 66%)
CMYKcmyk(63.9%, 65.7%, 0%, 33.7%)
CIE-LABlab(31.54, 35.75, -59.22)
CIE-LCHlch(31.54, 69.17, 301.12°)
OKLaboklab(42.46% 0.022 -0.1707)
OKLCHoklch(42.46% 0.172 277.3)
XYZxyz(10.5966, 6.8819, 38.2984)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AA9 #A6A93A
analogous
#3A6EA9 #3D3AA9 #753AA9
triadic
#3D3AA9 #A93D3A #3AA93D
tetradic
#3D3AA9 #A93A6E #A6A93A #3AA975
square
#3D3AA9 #A93A6E #A6A93A #3AA975
split-complementary
#3D3AA9 #A9753A #6EA93A
monochromatic
#1C1B4E #2D2A7B #3D3AA9 #5D5AC6 #8A87D6

Accessibility & contrast

On white

8.84
#3D3AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3D3AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3AA9
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AA9#FFFFFF#000000##FFFFFF
##3D3AA91.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d3aa9;
/* rgb */ color: rgb(61, 58, 169);
/* oklch */ color: oklch(42.5% 0.172 277.3);
Tailwind
colors: {
  custom: {
    50: '#7f71c4',
    500: '#3d3aa9',
    950: '#000000',
  },
}
SCSS
$custom: #3d3aa9;
$custom-light: #7f71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3aa9",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 241.622,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42463,
    "c": 0.17211,
    "h": 277.3
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#3D3AA9
secondary
#BEC07F
accent
#D84FD5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3D3AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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