#3D2F9D#3D2F9D

#3D2F9D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.170 H 281.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3D2F9D
RGBrgb(61, 47, 157)
HSLhsl(248, 54%, 40%)
HSVhsv(248, 70%, 62%)
CMYKcmyk(61.1%, 70.1%, 0%, 38.4%)
CIE-LABlab(28.00, 38.44, -57.75)
CIE-LCHlch(28.00, 69.37, 303.64°)
OKLaboklab(39.58% 0.0326 -0.1664)
OKLCHoklch(39.58% 0.17 281.1)
XYZxyz(9.0249, 5.4588, 32.4698)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F9D #8F9D2F
analogous
#2F589D #3D2F9D #742F9D
triadic
#3D2F9D #9D3D2F #2F9D3D
tetradic
#3D2F9D #9D2F58 #8F9D2F #2F9D74
square
#3D2F9D #9D2F58 #8F9D2F #2F9D74
split-complementary
#3D2F9D #9D742F #589D2F
monochromatic
#18133F #2B216E #3D2F9D #5343C7 #7E72D5

Accessibility & contrast

On white

10.04
#3D2F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3D2F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F9D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F9D#FFFFFF#000000##FFFFFF
##3D2F9D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d2f9d;
/* rgb */ color: rgb(61, 47, 157);
/* oklch */ color: oklch(39.6% 0.170 281.1);
Tailwind
colors: {
  custom: {
    50: '#7e69bb',
    500: '#3d2f9d',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f9d;
$custom-light: #7e69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f9d",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 247.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.39581,
    "c": 0.16957,
    "h": 281.1
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#3D2F9D
secondary
#B2BC6B
accent
#DD4BCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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