#3D2E95#3D2E95

#3D2E95 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.160 H 282.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3D2E95
RGBrgb(61, 46, 149)
HSLhsl(249, 53%, 38%)
HSVhsv(249, 69%, 58%)
CMYKcmyk(59.1%, 69.1%, 0%, 41.6%)
CIE-LABlab(27.06, 36.44, -54.40)
CIE-LCHlch(27.06, 65.48, 303.81°)
OKLaboklab(38.68% 0.0348 -0.1566)
OKLCHoklch(38.68% 0.16 282.5)
XYZxyz(8.3246, 5.1155, 28.9767)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E95 #86952E
analogous
#2E5295 #3D2E95 #702E95
triadic
#3D2E95 #953D2E #2E953D
tetradic
#3D2E95 #952E52 #86952E #2E9570
square
#3D2E95 #952E52 #86952E #2E9570
split-complementary
#3D2E95 #95702E #52952E
monochromatic
#171137 #2A2066 #3D2E95 #513DC3 #7B6CD2

Accessibility & contrast

On white

10.38
#3D2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3D2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E95
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E95#FFFFFF#000000##FFFFFF
##3D2E951.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#09495D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2e95;
/* rgb */ color: rgb(61, 46, 149);
/* oklch */ color: oklch(38.7% 0.160 282.5);
Tailwind
colors: {
  custom: {
    50: '#7c68b5',
    500: '#3d2e95',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e95;
$custom-light: #7c68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e95",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 248.738,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.16039,
    "h": 282.5
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#3D2E95
secondary
#ADB966
accent
#DC4CC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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