#3D34AB#3D34AB

#3D34AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.182 H 278.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3D34AB
RGBrgb(61, 52, 171)
HSLhsl(245, 53%, 44%)
HSVhsv(245, 70%, 67%)
CMYKcmyk(64.3%, 69.6%, 0%, 32.9%)
CIE-LABlab(30.37, 40.05, -62.33)
CIE-LCHlch(30.37, 74.09, 302.72°)
OKLaboklab(41.67% 0.0265 -0.1798)
OKLCHoklch(41.67% 0.182 278.4)
XYZxyz(10.5008, 6.3875, 39.1997)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D34AB #A2AB34
analogous
#3466AB #3D34AB #7834AB
triadic
#3D34AB #AB3D34 #34AB3D
tetradic
#3D34AB #AB3466 #A2AB34 #34AB78
square
#3D34AB #AB3466 #A2AB34 #34AB78
split-complementary
#3D34AB #AB7834 #66AB34
monochromatic
#1C174D #2C267C #3D34AB #5B52CA #8781D9

Accessibility & contrast

On white

9.22
#3D34AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3D34AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D34AB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D34AB#FFFFFF#000000##FFFFFF
##3D34AB1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d34ab;
/* rgb */ color: rgb(61, 52, 171);
/* oklch */ color: oklch(41.7% 0.182 278.4);
Tailwind
colors: {
  custom: {
    50: '#806dc5',
    500: '#3d34ab',
    950: '#000000',
  },
}
SCSS
$custom: #3d34ab;
$custom-light: #806dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d34ab",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 244.538,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.18176,
    "h": 278.4
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#3D34AB
secondary
#BCC279
accent
#DD4BD2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3D34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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