#3D2CA8#3D2CA8

#3D2CA8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.187 H 280.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3D2CA8
RGBrgb(61, 44, 168)
HSLhsl(248, 58%, 42%)
HSVhsv(248, 74%, 66%)
CMYKcmyk(63.7%, 73.8%, 0%, 34.1%)
CIE-LABlab(28.43, 43.66, -63.71)
CIE-LCHlch(28.43, 77.23, 304.42°)
OKLaboklab(40.21% 0.0328 -0.1838)
OKLCHoklch(40.21% 0.187 280.1)
XYZxyz(9.8908, 5.6199, 37.6017)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2CA8 #97A82C
analogous
#2C59A8 #3D2CA8 #7B2CA8
triadic
#3D2CA8 #A83D2C #2CA83D
tetradic
#3D2CA8 #A82C59 #97A82C #2CA87B
square
#3D2CA8 #A82C59 #97A82C #2CA87B
split-complementary
#3D2CA8 #A87B2C #59A82C
monochromatic
#1A1347 #2B1F78 #3D2CA8 #5643CE #8274DB

Accessibility & contrast

On white

9.89
#3D2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3D2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2CA8
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2CA8#FFFFFF#000000##FFFFFF
##3D2CA81.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d2ca8;
/* rgb */ color: rgb(61, 44, 168);
/* oklch */ color: oklch(40.2% 0.187 280.1);
Tailwind
colors: {
  custom: {
    50: '#8067c3',
    500: '#3d2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ca8;
$custom-light: #8067c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ca8",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 248.226,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40205,
    "c": 0.18673,
    "h": 280.1
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#3D2CA8
secondary
#B7C26E
accent
#E246CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3D2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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