#3D3FA9#3D3FA9

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

Color values

HEX#3D3FA9
RGBrgb(61, 63, 169)
HSLhsl(239, 47%, 45%)
HSVhsv(239, 64%, 66%)
CMYKcmyk(63.9%, 62.7%, 0%, 33.7%)
CIE-LABlab(32.72, 32.61, -57.28)
CIE-LCHlch(32.72, 65.91, 299.66°)
OKLaboklab(43.33% 0.0178 -0.165)
OKLCHoklch(43.33% 0.166 276.1)
XYZxyz(10.8611, 7.4108, 38.3865)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FA9 #A9A73D
analogous
#3D75A9 #3D3FA9 #713DA9
triadic
#3D3FA9 #A93D3F #3FA93D
tetradic
#3D3FA9 #A93D75 #A9A73D #3DA971
square
#3D3FA9 #A93D75 #A9A73D #3DA971
split-complementary
#3D3FA9 #A9713D #75A93D
monochromatic
#1D1D4F #2D2E7C #3D3FA9 #5E60C5 #8B8DD5

Accessibility & contrast

On white

8.46
#3D3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3D3FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FA9
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FA9#FFFFFF#000000##FFFFFF
##3D3FA91.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d3fa9;
/* rgb */ color: rgb(61, 63, 169);
/* oklch */ color: oklch(43.3% 0.166 276.1);
Tailwind
colors: {
  custom: {
    50: '#7f74c3',
    500: '#3d3fa9',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fa9;
$custom-light: #7f74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fa9",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 238.889,
    "s": 46.957,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.16593,
    "h": 276.1
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D3FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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