#3D34DB#3D34DB

#3D34DB is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.5% C 0.240 H 274.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3D34DB
RGBrgb(61, 52, 219)
HSLhsl(243, 70%, 53%)
HSVhsv(243, 76%, 86%)
CMYKcmyk(72.1%, 76.3%, 0%, 14.1%)
CIE-LABlab(35.12, 55.33, -82.65)
CIE-LCHlch(35.12, 99.47, 303.80°)
OKLaboklab(46.48% 0.0173 -0.2391)
OKLCHoklch(46.48% 0.24 274.1)
XYZxyz(15.9344, 8.5610, 67.8168)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D34DB #D2DB34
analogous
#347EDB #3D34DB #9134DB
triadic
#3D34DB #DB3D34 #34DB3D
tetradic
#3D34DB #DB347E #D2DB34 #34DB91
square
#3D34DB #DB347E #D2DB34 #34DB91
split-complementary
#3D34DB #DB9134 #7EDB34
monochromatic
#1C167E #2820B2 #3D34DB #6F68E4 #A09CED

Accessibility & contrast

On white

7.74
#3D34DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3D34DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D34DB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D34DB#FFFFFF#000000##FFFFFF
##3D34DB1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE0
Deuteranopia (green-blind)
#004BD8
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d34db;
/* rgb */ color: rgb(61, 52, 219);
/* oklch */ color: oklch(46.5% 0.240 274.1);
Tailwind
colors: {
  custom: {
    50: '#8a6fe8',
    500: '#3d34db',
    950: '#000000',
  },
}
SCSS
$custom: #3d34db;
$custom-light: #8a6fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d34db",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 243.234,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.23972,
    "h": 274.1
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#3D34DB
secondary
#D6D991
accent
#ED3BE3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3D34DB

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

Preview Lab → · Contrast checker → · Palette generator →

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