#3D3AA5#3D3AA5

#3D3AA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.167 H 277.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3D3AA5
RGBrgb(61, 58, 165)
HSLhsl(242, 48%, 44%)
HSVhsv(242, 65%, 65%)
CMYKcmyk(63%, 64.8%, 0%, 35.3%)
CIE-LABlab(31.19, 34.39, -57.38)
CIE-LCHlch(31.19, 66.90, 300.94°)
OKLaboklab(42.11% 0.0224 -0.1653)
OKLCHoklch(42.11% 0.167 277.7)
XYZxyz(10.2269, 6.7340, 36.3509)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AA5 #A2A53A
analogous
#3A6CA5 #3D3AA5 #723AA5
triadic
#3D3AA5 #A53D3A #3AA53D
tetradic
#3D3AA5 #A53A6C #A2A53A #3AA572
square
#3D3AA5 #A53A6C #A2A53A #3AA572
split-complementary
#3D3AA5 #A5723A #6CA53A
monochromatic
#1C1A4A #2C2A78 #3D3AA5 #5B58C4 #8785D4

Accessibility & contrast

On white

8.95
#3D3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3D3AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3AA5
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AA5#FFFFFF#000000##FFFFFF
##3D3AA51.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3d3aa5;
/* rgb */ color: rgb(61, 58, 165);
/* oklch */ color: oklch(42.1% 0.167 277.7);
Tailwind
colors: {
  custom: {
    50: '#7e70c1',
    500: '#3d3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #3d3aa5;
$custom-light: #7e70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3aa5",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 241.682,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.1668,
    "h": 277.7
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#3D3AA5
secondary
#BCBE7D
accent
#D850D4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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