#3D3D97#3D3D97

#3D3D97 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.144 H 278.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3D3D97
RGBrgb(61, 61, 151)
HSLhsl(240, 42%, 42%)
HSVhsv(240, 60%, 59%)
CMYKcmyk(59.6%, 59.6%, 0%, 40.8%)
CIE-LABlab(30.79, 27.70, -49.55)
CIE-LCHlch(30.79, 56.76, 299.20°)
OKLaboklab(41.46% 0.0203 -0.1423)
OKLCHoklch(41.46% 0.144 278.1)
XYZxyz(9.1773, 6.5633, 30.0554)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3D97 #97973D
analogous
#3D6A97 #3D3D97 #6A3D97
triadic
#3D3D97 #973D3D #3D973D
tetradic
#3D3D97 #973D6A #97973D #3D976A
square
#3D3D97 #973D6A #97973D #3D976A
split-complementary
#3D3D97 #976A3D #6A973D
monochromatic
#1A1A40 #2B2B6B #3D3D97 #5656BB #8282CC

Accessibility & contrast

On white

9.08
#3D3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3D3D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3D97
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3D97#FFFFFF#000000##FFFFFF
##3D3D971.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d3d97;
/* rgb */ color: rgb(61, 61, 151);
/* oklch */ color: oklch(41.5% 0.144 278.1);
Tailwind
colors: {
  custom: {
    50: '#7c72b6',
    500: '#3d3d97',
    950: '#000000',
  },
}
SCSS
$custom: #3d3d97;
$custom-light: #7c72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3d97",
  "rgb": {
    "r": 61,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41456,
    "c": 0.14371,
    "h": 278.1
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#3D3D97
secondary
#B7B779
accent
#D256D2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3D3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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