#3D3FAC#3D3FAC

#3D3FAC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.170 H 275.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#3D3FAC
RGBrgb(61, 63, 172)
HSLhsl(239, 48%, 46%)
HSVhsv(239, 65%, 67%)
CMYKcmyk(64.5%, 63.4%, 0%, 32.5%)
CIE-LABlab(32.97, 33.65, -58.67)
CIE-LCHlch(32.97, 67.63, 299.83°)
OKLaboklab(43.59% 0.0176 -0.169)
OKLCHoklch(43.59% 0.17 275.9)
XYZxyz(11.1459, 7.5247, 39.8868)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FAC #ACAA3D
analogous
#3D76AC #3D3FAC #723DAC
triadic
#3D3FAC #AC3D3F #3FAC3D
tetradic
#3D3FAC #AC3D76 #ACAA3D #3DAC72
square
#3D3FAC #AC3D76 #ACAA3D #3DAC72
split-complementary
#3D3FAC #AC723D #76AC3D
monochromatic
#1D1E52 #2D2E7F #3D3FAC #6062C7 #8D8ED7

Accessibility & contrast

On white

8.38
#3D3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3D3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FAC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FAC#FFFFFF#000000##FFFFFF
##3D3FAC1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d3fac;
/* rgb */ color: rgb(61, 63, 172);
/* oklch */ color: oklch(43.6% 0.170 275.9);
Tailwind
colors: {
  custom: {
    50: '#7f74c6',
    500: '#3d3fac',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fac;
$custom-light: #7f74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fac",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 238.919,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43591,
    "c": 0.16996,
    "h": 275.9
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#3D3FAC
secondary
#C1C084
accent
#D551D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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