#3D2F94#3D2F94

#3D2F94 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.158 H 282.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3D2F94
RGBrgb(61, 47, 148)
HSLhsl(248, 52%, 38%)
HSVhsv(248, 68%, 58%)
CMYKcmyk(58.8%, 68.2%, 0%, 42%)
CIE-LABlab(27.19, 35.51, -53.57)
CIE-LCHlch(27.19, 64.27, 303.54°)
OKLaboklab(38.75% 0.034 -0.1541)
OKLCHoklch(38.75% 0.158 282.4)
XYZxyz(8.2846, 5.1627, 28.5712)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F94 #86942F
analogous
#2F5394 #3D2F94 #6F2F94
triadic
#3D2F94 #943D2F #2F943D
tetradic
#3D2F94 #942F53 #86942F #2F946F
square
#3D2F94 #942F53 #86942F #2F946F
split-complementary
#3D2F94 #946F2F #53942F
monochromatic
#171137 #2A2066 #3D2F94 #513EC2 #7B6DD1

Accessibility & contrast

On white

10.33
#3D2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3D2F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F94
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F94#FFFFFF#000000##FFFFFF
##3D2F941.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#0B495D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2f94;
/* rgb */ color: rgb(61, 47, 148);
/* oklch */ color: oklch(38.7% 0.158 282.4);
Tailwind
colors: {
  custom: {
    50: '#7c69b4',
    500: '#3d2f94',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f94;
$custom-light: #7c69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f94",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 248.317,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38749,
    "c": 0.15786,
    "h": 282.4
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#3D2F94
secondary
#ADB867
accent
#DB4DC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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