#3D3AA2#3D3AA2

#3D3AA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.163 H 278.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3D3AA2
RGBrgb(61, 58, 162)
HSLhsl(242, 47%, 43%)
HSVhsv(242, 64%, 64%)
CMYKcmyk(62.3%, 64.2%, 0%, 36.5%)
CIE-LABlab(30.94, 33.38, -55.98)
CIE-LCHlch(30.94, 65.18, 300.80°)
OKLaboklab(41.84% 0.0226 -0.1612)
OKLCHoklch(41.84% 0.163 278)
XYZxyz(9.9570, 6.6261, 34.9297)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AA2 #9FA23A
analogous
#3A6BA2 #3D3AA2 #713AA2
triadic
#3D3AA2 #A23D3A #3AA23D
tetradic
#3D3AA2 #A23A6B #9FA23A #3AA271
square
#3D3AA2 #A23A6B #9FA23A #3AA271
split-complementary
#3D3AA2 #A2713A #6BA23A
monochromatic
#1B1A48 #2C2A75 #3D3AA2 #5A57C3 #8684D3

Accessibility & contrast

On white

9.03
#3D3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3D3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3AA2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AA2#FFFFFF#000000##FFFFFF
##3D3AA21.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3d3aa2;
/* rgb */ color: rgb(61, 58, 162);
/* oklch */ color: oklch(41.8% 0.163 278.0);
Tailwind
colors: {
  custom: {
    50: '#7e70be',
    500: '#3d3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3d3aa2;
$custom-light: #7e70be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3aa2",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 241.731,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.16277,
    "h": 278
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#3D3AA2
secondary
#BBBD7B
accent
#D751D3
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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