#3D3CA8#3D3CA8

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

Color values

HEX#3D3CA8
RGBrgb(61, 60, 168)
HSLhsl(241, 47%, 45%)
HSVhsv(241, 64%, 66%)
CMYKcmyk(63.7%, 64.3%, 0%, 34.1%)
CIE-LABlab(31.92, 34.16, -57.99)
CIE-LCHlch(31.92, 67.31, 300.50°)
OKLaboklab(42.72% 0.0204 -0.1671)
OKLCHoklch(42.72% 0.168 277)
XYZxyz(10.6059, 7.0501, 37.8401)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3CA8 #A7A83C
analogous
#3C71A8 #3D3CA8 #733CA8
triadic
#3D3CA8 #A83D3C #3CA83D
tetradic
#3D3CA8 #A83C71 #A7A83C #3CA873
square
#3D3CA8 #A83C71 #A7A83C #3CA873
split-complementary
#3D3CA8 #A8733C #71A83C
monochromatic
#1C1C4E #2D2C7B #3D3CA8 #5D5CC5 #8A89D5

Accessibility & contrast

On white

8.71
#3D3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3D3CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3CA8
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3CA8#FFFFFF#000000##FFFFFF
##3D3CA81.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d3ca8;
/* rgb */ color: rgb(61, 60, 168);
/* oklch */ color: oklch(42.7% 0.168 277.0);
Tailwind
colors: {
  custom: {
    50: '#7f72c3',
    500: '#3d3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ca8;
$custom-light: #7f72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ca8",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 240.556,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42717,
    "c": 0.16832,
    "h": 277
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#3D3CA8
secondary
#BFBF80
accent
#D751D6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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