#3D309F#3D309F

#3D309F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.171 H 280.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3D309F
RGBrgb(61, 48, 159)
HSLhsl(247, 54%, 41%)
HSVhsv(247, 70%, 62%)
CMYKcmyk(61.6%, 69.8%, 0%, 37.6%)
CIE-LABlab(28.40, 38.49, -58.31)
CIE-LCHlch(28.40, 69.87, 303.43°)
OKLaboklab(39.92% 0.0315 -0.168)
OKLCHoklch(39.92% 0.171 280.6)
XYZxyz(9.2375, 5.6085, 33.3899)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D309F #929F30
analogous
#305A9F #3D309F #74309F
triadic
#3D309F #9F3D30 #309F3D
tetradic
#3D309F #9F305A #929F30 #309F74
square
#3D309F #9F305A #929F30 #309F74
split-complementary
#3D309F #9F7430 #5A9F30
monochromatic
#191441 #2B2270 #3D309F #5445C7 #8074D5

Accessibility & contrast

On white

9.90
#3D309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3D309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D309F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D309F#FFFFFF#000000##FFFFFF
##3D309F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d309f;
/* rgb */ color: rgb(61, 48, 159);
/* oklch */ color: oklch(39.9% 0.171 280.6);
Tailwind
colors: {
  custom: {
    50: '#7e6abc',
    500: '#3d309f',
    950: '#000000',
  },
}
SCSS
$custom: #3d309f;
$custom-light: #7e6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d309f",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 247.027,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39924,
    "c": 0.17097,
    "h": 280.6
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#3D309F
secondary
#B4BD6E
accent
#DD4BCC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D309F

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

Preview Lab → · Contrast checker → · Palette generator →

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