#3D309C#3D309C

#3D309C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.167 H 281.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3D309C
RGBrgb(61, 48, 156)
HSLhsl(247, 53%, 40%)
HSVhsv(247, 69%, 61%)
CMYKcmyk(60.9%, 69.2%, 0%, 38.8%)
CIE-LABlab(28.13, 37.52, -56.94)
CIE-LCHlch(28.13, 68.19, 303.38°)
OKLaboklab(39.64% 0.032 -0.164)
OKLCHoklch(39.64% 0.167 281)
XYZxyz(8.9803, 5.5057, 32.0355)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D309C #8F9C30
analogous
#30599C #3D309C #73309C
triadic
#3D309C #9C3D30 #309C3D
tetradic
#3D309C #9C3059 #8F9C30 #309C73
square
#3D309C #9C3059 #8F9C30 #309C73
split-complementary
#3D309C #9C7330 #599C30
monochromatic
#18133E #2B226D #3D309C #5344C5 #7E73D4

Accessibility & contrast

On white

9.99
#3D309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D309C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D309C#FFFFFF#000000##FFFFFF
##3D309C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d309c;
/* rgb */ color: rgb(61, 48, 156);
/* oklch */ color: oklch(39.6% 0.167 281.0);
Tailwind
colors: {
  custom: {
    50: '#7e69ba',
    500: '#3d309c',
    950: '#000000',
  },
}
SCSS
$custom: #3d309c;
$custom-light: #7e69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d309c",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 247.222,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.39644,
    "c": 0.1671,
    "h": 281
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#3D309C
secondary
#B2BC6C
accent
#DC4BCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D309C

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

Preview Lab → · Contrast checker → · Palette generator →

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