#3D2E9F#3D2E9F

#3D2E9F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.173 H 281.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3D2E9F
RGBrgb(61, 46, 159)
HSLhsl(248, 55%, 40%)
HSVhsv(248, 71%, 62%)
CMYKcmyk(61.6%, 71.1%, 0%, 37.6%)
CIE-LABlab(27.98, 39.66, -59.01)
CIE-LCHlch(27.98, 71.10, 303.91°)
OKLaboklab(39.62% 0.0331 -0.1701)
OKLCHoklch(39.62% 0.173 281)
XYZxyz(9.1575, 5.4486, 33.3633)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E9F #909F2E
analogous
#2E579F #3D2E9F #762E9F
triadic
#3D2E9F #9F3D2E #2E9F3D
tetradic
#3D2E9F #9F2E57 #909F2E #2E9F76
square
#3D2E9F #9F2E57 #909F2E #2E9F76
split-complementary
#3D2E9F #9F762E #579F2E
monochromatic
#191340 #2B2070 #3D2E9F #5442C8 #7F71D6

Accessibility & contrast

On white

10.05
#3D2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2E9F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E9F#FFFFFF#000000##FFFFFF
##3D2E9F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d2e9f;
/* rgb */ color: rgb(61, 46, 159);
/* oklch */ color: oklch(39.6% 0.173 281.0);
Tailwind
colors: {
  custom: {
    50: '#7e68bc',
    500: '#3d2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e9f;
$custom-light: #7e68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e9f",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 247.965,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.17329,
    "h": 281
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#3D2E9F
secondary
#B3BE6B
accent
#DE49CB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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