#3D3EB2#3D3EB2

#3D3EB2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.179 H 275.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3D3EB2
RGBrgb(61, 62, 178)
HSLhsl(239, 49%, 47%)
HSVhsv(239, 66%, 70%)
CMYKcmyk(65.7%, 65.2%, 0%, 30.2%)
CIE-LABlab(33.24, 36.32, -61.80)
CIE-LCHlch(33.24, 71.68, 300.45°)
OKLaboklab(43.95% 0.018 -0.1782)
OKLCHoklch(43.95% 0.179 275.8)
XYZxyz(11.6803, 7.6507, 42.9720)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EB2 #B2B13D
analogous
#3D79B2 #3D3EB2 #773DB2
triadic
#3D3EB2 #B23D3E #3EB23D
tetradic
#3D3EB2 #B23D79 #B2B13D #3DB277
square
#3D3EB2 #B23D79 #B2B13D #3DB277
split-complementary
#3D3EB2 #B2773D #79B23D
monochromatic
#1E1E57 #2D2E84 #3D3EB2 #6364C9 #9091D9

Accessibility & contrast

On white

8.30
#3D3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3D3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EB2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EB2#FFFFFF#000000##FFFFFF
##3D3EB21.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d3eb2;
/* rgb */ color: rgb(61, 62, 178);
/* oklch */ color: oklch(43.9% 0.179 275.8);
Tailwind
colors: {
  custom: {
    50: '#8174ca',
    500: '#3d3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3d3eb2;
$custom-light: #8174ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3eb2",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 239.487,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.17914,
    "h": 275.8
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#3D3EB2
secondary
#C4C487
accent
#D74FD9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3D3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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