#3D3097#3D3097

#3D3097 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.161 H 281.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#3D3097
RGBrgb(61, 48, 151)
HSLhsl(248, 52%, 39%)
HSVhsv(248, 68%, 59%)
CMYKcmyk(59.6%, 68.2%, 0%, 40.8%)
CIE-LABlab(27.68, 35.89, -54.61)
CIE-LCHlch(27.68, 65.35, 303.31°)
OKLaboklab(39.18% 0.0327 -0.1572)
OKLCHoklch(39.18% 0.161 281.8)
XYZxyz(8.5656, 5.3398, 29.8515)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3097 #8A9730
analogous
#305797 #3D3097 #713097
triadic
#3D3097 #973D30 #30973D
tetradic
#3D3097 #973057 #8A9730 #309771
square
#3D3097 #973057 #8A9730 #309771
split-complementary
#3D3097 #977130 #579730
monochromatic
#17123A #2A2169 #3D3097 #5241C3 #7C70D2

Accessibility & contrast

On white

10.15
#3D3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3D3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3097
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3097#FFFFFF#000000##FFFFFF
##3D30971.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#034B5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d3097;
/* rgb */ color: rgb(61, 48, 151);
/* oklch */ color: oklch(39.2% 0.161 281.8);
Tailwind
colors: {
  custom: {
    50: '#7d69b6',
    500: '#3d3097',
    950: '#000000',
  },
}
SCSS
$custom: #3d3097;
$custom-light: #7d69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3097",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 247.573,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39183,
    "c": 0.16057,
    "h": 281.8
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#3D3097
secondary
#AFB96A
accent
#DB4DC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D3097

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

Preview Lab → · Contrast checker → · Palette generator →

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