#3D309A#3D309A

#3D309A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.165 H 281.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3D309A
RGBrgb(61, 48, 154)
HSLhsl(247, 52%, 40%)
HSVhsv(247, 69%, 60%)
CMYKcmyk(60.4%, 68.8%, 0%, 39.6%)
CIE-LABlab(27.95, 36.87, -56.01)
CIE-LCHlch(27.95, 67.05, 303.35°)
OKLaboklab(39.46% 0.0323 -0.1613)
OKLCHoklch(39.46% 0.165 281.3)
XYZxyz(8.8123, 5.4385, 31.1509)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D309A #8D9A30
analogous
#30589A #3D309A #72309A
triadic
#3D309A #9A3D30 #309A3D
tetradic
#3D309A #9A3058 #8D9A30 #309A72
square
#3D309A #9A3058 #8D9A30 #309A72
split-complementary
#3D309A #9A7230 #589A30
monochromatic
#18133D #2B216B #3D309A #5343C4 #7D72D3

Accessibility & contrast

On white

10.06
#3D309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3D309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D309A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D309A#FFFFFF#000000##FFFFFF
##3D309A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d309a;
/* rgb */ color: rgb(61, 48, 154);
/* oklch */ color: oklch(39.5% 0.165 281.3);
Tailwind
colors: {
  custom: {
    50: '#7d69b9',
    500: '#3d309a',
    950: '#000000',
  },
}
SCSS
$custom: #3d309a;
$custom-light: #7d69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d309a",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 247.358,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.1645,
    "h": 281.3
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#3D309A
secondary
#B1BB6B
accent
#DC4CCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D309A

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

Preview Lab → · Contrast checker → · Palette generator →

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