#3D2DBA#3D2DBA

#3D2DBA is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.2% C 0.207 H 277.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#3D2DBA
RGBrgb(61, 45, 186)
HSLhsl(247, 61%, 45%)
HSVhsv(247, 76%, 73%)
CMYKcmyk(67.2%, 75.8%, 0%, 27.1%)
CIE-LABlab(30.43, 48.75, -71.17)
CIE-LCHlch(30.43, 86.26, 304.41°)
OKLaboklab(42.16% 0.0281 -0.2056)
OKLCHoklch(42.16% 0.208 277.8)
XYZxyz(11.7229, 6.4130, 47.0649)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2DBA #AABA2D
analogous
#2D63BA #3D2DBA #842DBA
triadic
#3D2DBA #BA3D2D #2DBA3D
tetradic
#3D2DBA #BA2D63 #AABA2D #2DBA84
square
#3D2DBA #BA2D63 #AABA2D #2DBA84
split-complementary
#3D2DBA #BA842D #63BA2D
monochromatic
#1D1557 #2D2189 #3D2DBA #5F50D5 #8C81E0

Accessibility & contrast

On white

9.20
#3D2DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3D2DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2DBA
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2DBA#FFFFFF#000000##FFFFFF
##3D2DBA1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d2dba;
/* rgb */ color: rgb(61, 45, 186);
/* oklch */ color: oklch(42.2% 0.207 277.8);
Tailwind
colors: {
  custom: {
    50: '#8469d0',
    500: '#3d2dba',
    950: '#000000',
  },
}
SCSS
$custom: #3d2dba;
$custom-light: #8469d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2dba",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 246.809,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.2075,
    "h": 277.8
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#3D2DBA
secondary
#C0C979
accent
#E444D2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3D2DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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