#3D309E#3D309E

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

Color values

HEX#3D309E
RGBrgb(61, 48, 158)
HSLhsl(247, 53%, 40%)
HSVhsv(247, 70%, 62%)
CMYKcmyk(61.4%, 69.6%, 0%, 38%)
CIE-LABlab(28.31, 38.17, -57.86)
CIE-LCHlch(28.31, 69.31, 303.41°)
OKLaboklab(39.83% 0.0317 -0.1667)
OKLCHoklch(39.83% 0.17 280.7)
XYZxyz(9.1510, 5.5740, 32.9348)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D309E #919E30
analogous
#305A9E #3D309E #74309E
triadic
#3D309E #9E3D30 #309E3D
tetradic
#3D309E #9E305A #919E30 #309E74
square
#3D309E #9E305A #919E30 #309E74
split-complementary
#3D309E #9E7430 #5A9E30
monochromatic
#191340 #2B226F #3D309E #5445C6 #7F74D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D309E#FFFFFF#000000##FFFFFF
##3D309E1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d309e;
/* rgb */ color: rgb(61, 48, 158);
/* oklch */ color: oklch(39.8% 0.170 280.7);
Tailwind
colors: {
  custom: {
    50: '#7e6abc',
    500: '#3d309e',
    950: '#000000',
  },
}
SCSS
$custom: #3d309e;
$custom-light: #7e6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d309e",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 247.091,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3983,
    "c": 0.16969,
    "h": 280.7
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#3D309E
secondary
#B3BD6D
accent
#DD4BCC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D309E

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

Preview Lab → · Contrast checker → · Palette generator →

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