#3D3FB2#3D3FB2

#3D3FB2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.178 H 275.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3D3FB2
RGBrgb(61, 63, 178)
HSLhsl(239, 49%, 47%)
HSVhsv(239, 66%, 70%)
CMYKcmyk(65.7%, 64.6%, 0%, 30.2%)
CIE-LABlab(33.48, 35.70, -61.41)
CIE-LCHlch(33.48, 71.04, 300.17°)
OKLaboklab(44.12% 0.0172 -0.1771)
OKLCHoklch(44.12% 0.178 275.5)
XYZxyz(11.7352, 7.7605, 42.9903)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FB2 #B2B03D
analogous
#3D7AB2 #3D3FB2 #753DB2
triadic
#3D3FB2 #B23D3F #3FB23D
tetradic
#3D3FB2 #B23D7A #B2B03D #3DB275
square
#3D3FB2 #B23D7A #B2B03D #3DB275
split-complementary
#3D3FB2 #B2753D #7AB23D
monochromatic
#1E1F57 #2D2F84 #3D3FB2 #6365C9 #9092D9

Accessibility & contrast

On white

8.23
#3D3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3D3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FB2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FB2#FFFFFF#000000##FFFFFF
##3D3FB21.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d3fb2;
/* rgb */ color: rgb(61, 63, 178);
/* oklch */ color: oklch(44.1% 0.178 275.5);
Tailwind
colors: {
  custom: {
    50: '#8174ca',
    500: '#3d3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fb2;
$custom-light: #8174ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fb2",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 238.974,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.17794,
    "h": 275.5
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#3D3FB2
secondary
#C4C387
accent
#D64FD9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3D3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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