#3D3AAA#3D3AAA

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

Color values

HEX#3D3AAA
RGBrgb(61, 58, 170)
HSLhsl(242, 49%, 45%)
HSVhsv(242, 66%, 67%)
CMYKcmyk(64.1%, 65.9%, 0%, 33.3%)
CIE-LABlab(31.62, 36.09, -59.68)
CIE-LCHlch(31.62, 69.74, 301.16°)
OKLaboklab(42.55% 0.0219 -0.172)
OKLCHoklch(42.55% 0.173 277.3)
XYZxyz(10.6909, 6.9196, 38.7947)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AAA #A7AA3A
analogous
#3A6FAA #3D3AAA #753AAA
triadic
#3D3AAA #AA3D3A #3AAA3D
tetradic
#3D3AAA #AA3A6F #A7AA3A #3AAA75
square
#3D3AAA #AA3A6F #A7AA3A #3AAA75
split-complementary
#3D3AAA #AA753A #6FAA3A
monochromatic
#1C1B4F #2D2A7C #3D3AAA #5D5AC7 #8A88D6

Accessibility & contrast

On white

8.81
#3D3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D3AAA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AAA#FFFFFF#000000##FFFFFF
##3D3AAA1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d3aaa;
/* rgb */ color: rgb(61, 58, 170);
/* oklch */ color: oklch(42.6% 0.173 277.3);
Tailwind
colors: {
  custom: {
    50: '#7f71c4',
    500: '#3d3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3d3aaa;
$custom-light: #7f71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3aaa",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 241.607,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42553,
    "c": 0.17343,
    "h": 277.3
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#3D3AAA
secondary
#BFC17F
accent
#D94FD5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3D3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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