#3D34B7#3D34B7

#3D34B7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.197 H 277.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3D34B7
RGBrgb(61, 52, 183)
HSLhsl(244, 56%, 46%)
HSVhsv(244, 72%, 72%)
CMYKcmyk(66.7%, 71.6%, 0%, 28.2%)
CIE-LABlab(31.50, 43.96, -67.63)
CIE-LCHlch(31.50, 80.66, 303.03°)
OKLaboklab(42.83% 0.0245 -0.1953)
OKLCHoklch(42.83% 0.197 277.1)
XYZxyz(11.6969, 6.8660, 45.4994)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D34B7 #AEB734
analogous
#346CB7 #3D34B7 #7E34B7
triadic
#3D34B7 #B73D34 #34B73D
tetradic
#3D34B7 #B7346C #AEB734 #34B77E
square
#3D34B7 #B7346C #AEB734 #34B77E
split-complementary
#3D34B7 #B77E34 #6CB734
monochromatic
#1D1958 #2D2687 #3D34B7 #6159D0 #8E88DD

Accessibility & contrast

On white

8.85
#3D34B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3D34B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D34B7
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D34B7#FFFFFF#000000##FFFFFF
##3D34B71.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d34b7;
/* rgb */ color: rgb(61, 52, 183);
/* oklch */ color: oklch(42.8% 0.197 277.1);
Tailwind
colors: {
  custom: {
    50: '#836dce',
    500: '#3d34b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d34b7;
$custom-light: #836dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d34b7",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 244.122,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.19684,
    "h": 277.1
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#3D34B7
secondary
#C2C780
accent
#DF49D5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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