#3D3296#3D3296

#3D3296 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.157 H 281.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#3D3296
RGBrgb(61, 50, 150)
HSLhsl(247, 50%, 39%)
HSVhsv(247, 67%, 59%)
CMYKcmyk(59.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(28.05, 34.34, -53.40)
CIE-LCHlch(28.05, 63.49, 302.74°)
OKLaboklab(39.42% 0.031 -0.1537)
OKLCHoklch(39.42% 0.157 281.4)
XYZxyz(8.5684, 5.4747, 29.4535)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3296 #8B9632
analogous
#325996 #3D3296 #6F3296
triadic
#3D3296 #963D32 #32963D
tetradic
#3D3296 #963259 #8B9632 #32966F
square
#3D3296 #963259 #8B9632 #32966F
split-complementary
#3D3296 #966F32 #599632
monochromatic
#18133A #2A2368 #3D3296 #5244C1 #7D72D0

Accessibility & contrast

On white

10.02
#3D3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3D3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3296
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3296#FFFFFF#000000##FFFFFF
##3D32961.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#054B5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d3296;
/* rgb */ color: rgb(61, 50, 150);
/* oklch */ color: oklch(39.4% 0.157 281.4);
Tailwind
colors: {
  custom: {
    50: '#7c6bb6',
    500: '#3d3296',
    950: '#000000',
  },
}
SCSS
$custom: #3d3296;
$custom-light: #7c6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3296",
  "rgb": {
    "r": 61,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 246.6,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3942,
    "c": 0.15676,
    "h": 281.4
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#3D3296
secondary
#B0B86C
accent
#DA4ECA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D3296

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

Preview Lab → · Contrast checker → · Palette generator →

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