#3D3299#3D3299

#3D3299 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.161 H 281.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3D3299
RGBrgb(61, 50, 153)
HSLhsl(246, 51%, 40%)
HSVhsv(246, 67%, 60%)
CMYKcmyk(60.1%, 67.3%, 0%, 40%)
CIE-LABlab(28.31, 35.33, -54.81)
CIE-LCHlch(28.31, 65.21, 302.80°)
OKLaboklab(39.69% 0.0307 -0.1578)
OKLCHoklch(39.69% 0.161 281)
XYZxyz(8.8130, 5.5726, 30.7420)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3299 #8E9932
analogous
#325A99 #3D3299 #713299
triadic
#3D3299 #993D32 #32993D
tetradic
#3D3299 #99325A #8E9932 #329971
square
#3D3299 #99325A #8E9932 #329971
split-complementary
#3D3299 #997132 #5A9932
monochromatic
#18143D #2B236B #3D3299 #5346C2 #7E74D2

Accessibility & contrast

On white

9.93
#3D3299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3D3299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3299
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3299#FFFFFF#000000##FFFFFF
##3D32991.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d3299;
/* rgb */ color: rgb(61, 50, 153);
/* oklch */ color: oklch(39.7% 0.161 281.0);
Tailwind
colors: {
  custom: {
    50: '#7d6bb8',
    500: '#3d3299',
    950: '#000000',
  },
}
SCSS
$custom: #3d3299;
$custom-light: #7d6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3299",
  "rgb": {
    "r": 61,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 246.408,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3969,
    "c": 0.16074,
    "h": 281
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#3D3299
secondary
#B1BA6D
accent
#DA4ECB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D3299

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

Preview Lab → · Contrast checker → · Palette generator →

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