#3D34A5#3D34A5

#3D34A5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.174 H 279.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3D34A5
RGBrgb(61, 52, 165)
HSLhsl(245, 52%, 43%)
HSVhsv(245, 68%, 65%)
CMYKcmyk(63%, 68.5%, 0%, 35.3%)
CIE-LABlab(29.82, 38.07, -59.62)
CIE-LCHlch(29.82, 70.74, 302.56°)
OKLaboklab(41.11% 0.0274 -0.1719)
OKLCHoklch(41.11% 0.174 279)
XYZxyz(9.9418, 6.1639, 36.2559)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D34A5 #9CA534
analogous
#3463A5 #3D34A5 #7634A5
triadic
#3D34A5 #A53D34 #34A53D
tetradic
#3D34A5 #A53463 #9CA534 #34A576
square
#3D34A5 #A53463 #9CA534 #34A576
split-complementary
#3D34A5 #A57634 #63A534
monochromatic
#1B1748 #2C2576 #3D34A5 #584FC7 #847DD6

Accessibility & contrast

On white

9.40
#3D34A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3D34A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D34A5
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D34A5#FFFFFF#000000##FFFFFF
##3D34A51.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d34a5;
/* rgb */ color: rgb(61, 52, 165);
/* oklch */ color: oklch(41.1% 0.174 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f6cc1',
    500: '#3d34a5',
    950: '#000000',
  },
}
SCSS
$custom: #3d34a5;
$custom-light: #7f6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d34a5",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 244.779,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41113,
    "c": 0.17404,
    "h": 279
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#3D34A5
secondary
#B9BF76
accent
#DC4CD0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D34A5

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

Preview Lab → · Contrast checker → · Palette generator →

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