#3D3FA1#3D3FA1

#3D3FA1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.155 H 276.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3D3FA1
RGBrgb(61, 63, 161)
HSLhsl(239, 45%, 44%)
HSVhsv(239, 62%, 63%)
CMYKcmyk(62.1%, 60.9%, 0%, 36.9%)
CIE-LABlab(32.08, 29.85, -53.52)
CIE-LCHlch(32.08, 61.29, 299.15°)
OKLaboklab(42.65% 0.0181 -0.1539)
OKLCHoklch(42.65% 0.155 276.7)
XYZxyz(10.1329, 7.1195, 34.5515)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FA1 #A19F3D
analogous
#3D71A1 #3D3FA1 #6D3DA1
triadic
#3D3FA1 #A13D3F #3FA13D
tetradic
#3D3FA1 #A13D71 #A19F3D #3DA16D
square
#3D3FA1 #A13D71 #A19F3D #3DA16D
split-complementary
#3D3FA1 #A16D3D #71A13D
monochromatic
#1B1C48 #2C2E75 #3D3FA1 #5B5DC1 #8788D1

Accessibility & contrast

On white

8.66
#3D3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3D3FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FA1
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FA1#FFFFFF#000000##FFFFFF
##3D3FA11.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d3fa1;
/* rgb */ color: rgb(61, 63, 161);
/* oklch */ color: oklch(42.7% 0.155 276.7);
Tailwind
colors: {
  custom: {
    50: '#7d74be',
    500: '#3d3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fa1;
$custom-light: #7d74be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fa1",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 238.8,
    "s": 45.045,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.155,
    "h": 276.7
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#3D3FA1
secondary
#BCBB7E
accent
#D253D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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