#3D34B5#3D34B5

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

Color values

HEX#3D34B5
RGBrgb(61, 52, 181)
HSLhsl(244, 55%, 46%)
HSVhsv(244, 71%, 71%)
CMYKcmyk(66.3%, 71.3%, 0%, 29%)
CIE-LABlab(31.31, 43.31, -66.76)
CIE-LCHlch(31.31, 79.58, 302.98°)
OKLaboklab(42.63% 0.0248 -0.1928)
OKLCHoklch(42.63% 0.194 277.3)
XYZxyz(11.4902, 6.7833, 44.4109)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D34B5 #ACB534
analogous
#346BB5 #3D34B5 #7D34B5
triadic
#3D34B5 #B53D34 #34B53D
tetradic
#3D34B5 #B5346B #ACB534 #34B57D
square
#3D34B5 #B5346B #ACB534 #34B57D
split-complementary
#3D34B5 #B57D34 #6BB534
monochromatic
#1D1956 #2D2685 #3D34B5 #6057CF #8D87DC

Accessibility & contrast

On white

8.91
#3D34B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3D34B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D34B5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D34B5#FFFFFF#000000##FFFFFF
##3D34B51.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d34b5;
/* rgb */ color: rgb(61, 52, 181);
/* oklch */ color: oklch(42.6% 0.194 277.3);
Tailwind
colors: {
  custom: {
    50: '#826dcc',
    500: '#3d34b5',
    950: '#000000',
  },
}
SCSS
$custom: #3d34b5;
$custom-light: #826dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d34b5",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 244.186,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42632,
    "c": 0.19435,
    "h": 277.3
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#3D34B5
secondary
#C1C67F
accent
#DF49D4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D34B5

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

Preview Lab → · Contrast checker → · Palette generator →

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