#3D2F85#3D2F85

#3D2F85 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.138 H 285.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3D2F85
RGBrgb(61, 47, 133)
HSLhsl(250, 48%, 35%)
HSVhsv(250, 65%, 52%)
CMYKcmyk(54.1%, 64.7%, 0%, 47.8%)
CIE-LABlab(25.92, 30.63, -46.35)
CIE-LCHlch(25.92, 55.56, 303.45°)
OKLaboklab(37.43% 0.0357 -0.133)
OKLCHoklch(37.43% 0.138 285)
XYZxyz(7.1734, 4.7182, 22.7185)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F85 #77852F
analogous
#2F4C85 #3D2F85 #682F85
triadic
#3D2F85 #853D2F #2F853D
tetradic
#3D2F85 #852F4C #77852F #2F8568
square
#3D2F85 #852F4C #77852F #2F8568
split-complementary
#3D2F85 #85682F #4C852F
monochromatic
#140F2B #281F58 #3D2F85 #523FB2 #7666C9

Accessibility & contrast

On white

10.80
#3D2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3D2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F85
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F85#FFFFFF#000000##FFFFFF
##3D2F851.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#204455
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2f85;
/* rgb */ color: rgb(61, 47, 133);
/* oklch */ color: oklch(37.4% 0.138 285.0);
Tailwind
colors: {
  custom: {
    50: '#7a68a9',
    500: '#3d2f85',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f85;
$custom-light: #7a68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f85",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 249.767,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37425,
    "c": 0.13767,
    "h": 285
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#3D2F85
secondary
#A3B060
accent
#D750C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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