#3D34D1#3D34D1

#3D34D1 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.228 H 274.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3D34D1
RGBrgb(61, 52, 209)
HSLhsl(243, 63%, 51%)
HSVhsv(243, 75%, 82%)
CMYKcmyk(70.8%, 75.1%, 0%, 18%)
CIE-LABlab(34.09, 52.24, -78.60)
CIE-LCHlch(34.09, 94.37, 303.61°)
OKLaboklab(45.44% 0.0194 -0.2273)
OKLCHoklch(45.44% 0.228 274.9)
XYZxyz(14.6573, 8.0501, 61.0906)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D34D1 #C8D134
analogous
#347AD1 #3D34D1 #8B34D1
triadic
#3D34D1 #D13D34 #34D13D
tetradic
#3D34D1 #D1347A #C8D134 #34D18B
square
#3D34D1 #D1347A #C8D134 #34D18B
split-complementary
#3D34D1 #D18B34 #7AD134
monochromatic
#1F1A71 #2C25A3 #3D34D1 #6D66DC #9C98E8

Accessibility & contrast

On white

8.04
#3D34D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3D34D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D34D1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D34D1#FFFFFF#000000##FFFFFF
##3D34D11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D6
Deuteranopia (green-blind)
#0049CE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d34d1;
/* rgb */ color: rgb(61, 52, 209);
/* oklch */ color: oklch(45.4% 0.228 274.9);
Tailwind
colors: {
  custom: {
    50: '#886ee0',
    500: '#3d34d1',
    950: '#000000',
  },
}
SCSS
$custom: #3d34d1;
$custom-light: #886ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d34d1",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 243.439,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.22813,
    "h": 274.9
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#3D34D1
secondary
#CFD38E
accent
#E642DD
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #3D34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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