#3D3FAA#3D3FAA

#3D3FAA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.167 H 276.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3D3FAA
RGBrgb(61, 63, 170)
HSLhsl(239, 47%, 45%)
HSVhsv(239, 64%, 67%)
CMYKcmyk(64.1%, 62.9%, 0%, 33.3%)
CIE-LABlab(32.81, 32.96, -57.74)
CIE-LCHlch(32.81, 66.49, 299.72°)
OKLaboklab(43.42% 0.0177 -0.1663)
OKLCHoklch(43.42% 0.167 276.1)
XYZxyz(10.9553, 7.4485, 38.8828)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FAA #AAA83D
analogous
#3D75AA #3D3FAA #713DAA
triadic
#3D3FAA #AA3D3F #3FAA3D
tetradic
#3D3FAA #AA3D75 #AAA83D #3DAA71
square
#3D3FAA #AA3D75 #AAA83D #3DAA71
split-complementary
#3D3FAA #AA713D #75AA3D
monochromatic
#1D1E50 #2D2E7D #3D3FAA #5F61C5 #8C8DD6

Accessibility & contrast

On white

8.43
#3D3FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3D3FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FAA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FAA#FFFFFF#000000##FFFFFF
##3D3FAA1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d3faa;
/* rgb */ color: rgb(61, 63, 170);
/* oklch */ color: oklch(43.4% 0.167 276.1);
Tailwind
colors: {
  custom: {
    50: '#7f74c4',
    500: '#3d3faa',
    950: '#000000',
  },
}
SCSS
$custom: #3d3faa;
$custom-light: #7f74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3faa",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 238.899,
    "s": 47.186,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43417,
    "c": 0.16728,
    "h": 276.1
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#3D3FAA
secondary
#C0BF82
accent
#D451D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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