#3D2E8F#3D2E8F

#3D2E8F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.152 H 283.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3D2E8F
RGBrgb(61, 46, 143)
HSLhsl(249, 51%, 37%)
HSVhsv(249, 68%, 56%)
CMYKcmyk(57.3%, 67.8%, 0%, 43.9%)
CIE-LABlab(26.53, 34.49, -51.57)
CIE-LCHlch(26.53, 62.04, 303.78°)
OKLaboklab(38.14% 0.0356 -0.1483)
OKLCHoklch(38.14% 0.153 283.5)
XYZxyz(7.8579, 4.9288, 26.5186)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E8F #808F2E
analogous
#2E508F #3D2E8F #6E2E8F
triadic
#3D2E8F #8F3D2E #2E8F3D
tetradic
#3D2E8F #8F2E50 #808F2E #2E8F6E
square
#3D2E8F #8F2E50 #808F2E #2E8F6E
split-complementary
#3D2E8F #8F6E2E #508F2E
monochromatic
#151032 #291F61 #3D2E8F #513DBD #7869CF

Accessibility & contrast

On white

10.58
#3D2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3D2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E8F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E8F#FFFFFF#000000##FFFFFF
##3D2E8F1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#15475A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2e8f;
/* rgb */ color: rgb(61, 46, 143);
/* oklch */ color: oklch(38.1% 0.152 283.5);
Tailwind
colors: {
  custom: {
    50: '#7b68b1',
    500: '#3d2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e8f;
$custom-light: #7b68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e8f",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 249.278,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38135,
    "c": 0.1525,
    "h": 283.5
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#3D2E8F
secondary
#A9B663
accent
#DB4DC5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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