#3D2E89#3D2E89

#3D2E89 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.144 H 284.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3D2E89
RGBrgb(61, 46, 137)
HSLhsl(250, 50%, 36%)
HSVhsv(250, 66%, 54%)
CMYKcmyk(55.5%, 66.4%, 0%, 46.3%)
CIE-LABlab(26.02, 32.55, -48.69)
CIE-LCHlch(26.02, 58.57, 303.76°)
OKLaboklab(37.6% 0.0364 -0.1398)
OKLCHoklch(37.6% 0.144 284.6)
XYZxyz(7.4155, 4.7518, 24.1885)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E89 #7A892E
analogous
#2E4C89 #3D2E89 #6A2E89
triadic
#3D2E89 #893D2E #2E893D
tetradic
#3D2E89 #892E4C #7A892E #2E896A
square
#3D2E89 #892E4C #7A892E #2E896A
split-complementary
#3D2E89 #896A2E #4C892E
monochromatic
#140F2D #291F5B #3D2E89 #513DB7 #7766CC

Accessibility & contrast

On white

10.77
#3D2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3D2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E89
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E89#FFFFFF#000000##FFFFFF
##3D2E891.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#1C4557
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2e89;
/* rgb */ color: rgb(61, 46, 137);
/* oklch */ color: oklch(37.6% 0.144 284.6);
Tailwind
colors: {
  custom: {
    50: '#7a68ac',
    500: '#3d2e89',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e89;
$custom-light: #7a68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e89",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 249.89,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37602,
    "c": 0.14447,
    "h": 284.6
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#3D2E89
secondary
#A5B260
accent
#D94FC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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