#3D3597#3D3597

#3D3597 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.154 H 280.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3D3597
RGBrgb(61, 53, 151)
HSLhsl(245, 48%, 40%)
HSVhsv(245, 65%, 59%)
CMYKcmyk(59.6%, 64.9%, 0%, 40.8%)
CIE-LABlab(28.83, 32.81, -52.74)
CIE-LCHlch(28.83, 62.11, 301.88°)
OKLaboklab(40.02% 0.0281 -0.1517)
OKLCHoklch(40.02% 0.154 280.5)
XYZxyz(8.7817, 5.7721, 29.9235)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3597 #8F9735
analogous
#355E97 #3D3597 #6E3597
triadic
#3D3597 #973D35 #35973D
tetradic
#3D3597 #97355E #8F9735 #35976E
square
#3D3597 #97355E #8F9735 #35976E
split-complementary
#3D3597 #976E35 #5E9735
monochromatic
#18153C #2B256A #3D3597 #534ABF #7E77CF

Accessibility & contrast

On white

9.75
#3D3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3597
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3597#FFFFFF#000000##FFFFFF
##3D35971.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#024D61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d3597;
/* rgb */ color: rgb(61, 53, 151);
/* oklch */ color: oklch(40.0% 0.154 280.5);
Tailwind
colors: {
  custom: {
    50: '#7c6db6',
    500: '#3d3597',
    950: '#000000',
  },
}
SCSS
$custom: #3d3597;
$custom-light: #7c6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3597",
  "rgb": {
    "r": 61,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 244.898,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.40016,
    "c": 0.15427,
    "h": 280.5
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#3D3597
secondary
#B2B870
accent
#D850CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3D3597

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

Preview Lab → · Contrast checker → · Palette generator →

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