#3C2BAB#3C2BAB

#3C2BAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.192 H 279.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#3C2BAB
RGBrgb(60, 43, 171)
HSLhsl(248, 60%, 42%)
HSVhsv(248, 75%, 67%)
CMYKcmyk(64.9%, 74.9%, 0%, 32.9%)
CIE-LABlab(28.45, 45.03, -65.48)
CIE-LCHlch(28.45, 79.47, 304.51°)
OKLaboklab(40.29% 0.0314 -0.189)
OKLCHoklch(40.29% 0.192 279.4)
XYZxyz(10.0757, 5.6279, 39.0755)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2BAB #9AAB2B
analogous
#2B5AAB #3C2BAB #7C2BAB
triadic
#3C2BAB #AB3C2B #2BAB3C
tetradic
#3C2BAB #AB2B5A #9AAB2B #2BAB7C
square
#3C2BAB #AB2B5A #9AAB2B #2BAB7C
split-complementary
#3C2BAB #AB7C2B #5AAB2B
monochromatic
#1A1249 #2B1F7A #3C2BAB #5643D0 #8274DC

Accessibility & contrast

On white

9.88
#3C2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3C2BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2BAB
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2BAB#FFFFFF#000000##FFFFFF
##3C2BAB1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c2bab;
/* rgb */ color: rgb(60, 43, 171);
/* oklch */ color: oklch(40.3% 0.192 279.4);
Tailwind
colors: {
  custom: {
    50: '#8067c5',
    500: '#3c2bab',
    950: '#000000',
  },
}
SCSS
$custom: #3c2bab;
$custom-light: #8067c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2bab",
  "rgb": {
    "r": 60,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 247.969,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.19161,
    "h": 279.4
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#3C2BAB
secondary
#B8C46E
accent
#E345CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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