#3D3FB1#3D3FB1

#3D3FB1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.177 H 275.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3D3FB1
RGBrgb(61, 63, 177)
HSLhsl(239, 49%, 47%)
HSVhsv(239, 66%, 69%)
CMYKcmyk(65.5%, 64.4%, 0%, 30.6%)
CIE-LABlab(33.39, 35.36, -60.96)
CIE-LCHlch(33.39, 70.47, 300.12°)
OKLaboklab(44.03% 0.0172 -0.1758)
OKLCHoklch(44.03% 0.177 275.6)
XYZxyz(11.6352, 7.7204, 42.4635)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FB1 #B1AF3D
analogous
#3D79B1 #3D3FB1 #753DB1
triadic
#3D3FB1 #B13D3F #3FB13D
tetradic
#3D3FB1 #B13D79 #B1AF3D #3DB175
square
#3D3FB1 #B13D79 #B1AF3D #3DB175
split-complementary
#3D3FB1 #B1753D #79B13D
monochromatic
#1E1F56 #2D2F83 #3D3FB1 #6264C9 #9091D9

Accessibility & contrast

On white

8.25
#3D3FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3D3FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FB1
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FB1#FFFFFF#000000##FFFFFF
##3D3FB11.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d3fb1;
/* rgb */ color: rgb(61, 63, 177);
/* oklch */ color: oklch(44.0% 0.177 275.6);
Tailwind
colors: {
  custom: {
    50: '#8074c9',
    500: '#3d3fb1',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fb1;
$custom-light: #8074c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fb1",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 238.966,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44029,
    "c": 0.17662,
    "h": 275.6
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#3D3FB1
secondary
#C4C386
accent
#D650D8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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