#3C299D#3C299D

#3C299D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.176 H 281.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3C299D
RGBrgb(60, 41, 157)
HSLhsl(250, 59%, 39%)
HSVhsv(250, 74%, 62%)
CMYKcmyk(61.8%, 73.9%, 0%, 38.4%)
CIE-LABlab(26.68, 41.73, -59.93)
CIE-LCHlch(26.68, 73.02, 304.85°)
OKLaboklab(38.62% 0.0359 -0.1728)
OKLCHoklch(38.62% 0.176 281.7)
XYZxyz(8.7403, 4.9802, 32.3925)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C299D #8A9D29
analogous
#29509D #3C299D #76299D
triadic
#3C299D #9D3C29 #299D3C
tetradic
#3C299D #9D2950 #8A9D29 #299D76
square
#3C299D #9D2950 #8A9D29 #299D76
split-complementary
#3C299D #9D7629 #509D29
monochromatic
#17103C #291C6C #3C299D #5038CB #7B69D8

Accessibility & contrast

On white

10.52
#3C299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3C299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C299D
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C299D#FFFFFF#000000##FFFFFF
##3C299D1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c299d;
/* rgb */ color: rgb(60, 41, 157);
/* oklch */ color: oklch(38.6% 0.176 281.7);
Tailwind
colors: {
  custom: {
    50: '#7e65bb',
    500: '#3c299d',
    950: '#000000',
  },
}
SCSS
$custom: #3c299d;
$custom-light: #7e65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c299d",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 249.828,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38615,
    "c": 0.17648,
    "h": 281.7
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#3C299D
secondary
#AFBE64
accent
#E246C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C299D

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

Preview Lab → · Contrast checker → · Palette generator →

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