#3D3CAF#3D3CAF

#3D3CAF is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.178 H 276.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3D3CAF
RGBrgb(61, 60, 175)
HSLhsl(241, 49%, 46%)
HSVhsv(241, 66%, 69%)
CMYKcmyk(65.1%, 65.7%, 0%, 31.4%)
CIE-LABlab(32.52, 36.54, -61.20)
CIE-LCHlch(32.52, 71.28, 300.84°)
OKLaboklab(43.34% 0.0198 -0.1765)
OKLCHoklch(43.34% 0.178 276.4)
XYZxyz(11.2757, 7.3180, 41.3674)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3CAF #AEAF3C
analogous
#3C74AF #3D3CAF #763CAF
triadic
#3D3CAF #AF3D3C #3CAF3D
tetradic
#3D3CAF #AF3C74 #AEAF3C #3CAF76
square
#3D3CAF #AF3C74 #AEAF3C #3CAF76
split-complementary
#3D3CAF #AF763C #74AF3C
monochromatic
#1D1D54 #2D2C81 #3D3CAF #6160C8 #8E8DD8

Accessibility & contrast

On white

8.52
#3D3CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3D3CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3CAF
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3CAF#FFFFFF#000000##FFFFFF
##3D3CAF1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d3caf;
/* rgb */ color: rgb(61, 60, 175);
/* oklch */ color: oklch(43.3% 0.178 276.4);
Tailwind
colors: {
  custom: {
    50: '#8072c8',
    500: '#3d3caf',
    950: '#000000',
  },
}
SCSS
$custom: #3d3caf;
$custom-light: #8072c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3caf",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 240.522,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.1776,
    "h": 276.4
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#3D3CAF
secondary
#C2C384
accent
#D84FD7
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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