#3C299F#3C299F

#3C299F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.179 H 281.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3C299F
RGBrgb(60, 41, 159)
HSLhsl(250, 59%, 39%)
HSVhsv(250, 74%, 62%)
CMYKcmyk(62.3%, 74.2%, 0%, 37.6%)
CIE-LABlab(26.87, 42.35, -60.83)
CIE-LCHlch(26.87, 74.12, 304.85°)
OKLaboklab(38.81% 0.0355 -0.1754)
OKLCHoklch(38.81% 0.179 281.4)
XYZxyz(8.9125, 5.0491, 33.2991)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C299F #8C9F29
analogous
#29519F #3C299F #77299F
triadic
#3C299F #9F3C29 #299F3C
tetradic
#3C299F #9F2951 #8C9F29 #299F77
square
#3C299F #9F2951 #8C9F29 #299F77
split-complementary
#3C299F #9F7729 #519F29
monochromatic
#17103E #2A1C6E #3C299F #5139CC #7C6AD9

Accessibility & contrast

On white

10.45
#3C299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3C299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C299F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C299F#FFFFFF#000000##FFFFFF
##3C299F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c299f;
/* rgb */ color: rgb(60, 41, 159);
/* oklch */ color: oklch(38.8% 0.179 281.4);
Tailwind
colors: {
  custom: {
    50: '#7e65bc',
    500: '#3c299f',
    950: '#000000',
  },
}
SCSS
$custom: #3c299f;
$custom-light: #7e65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c299f",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 249.661,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38813,
    "c": 0.17896,
    "h": 281.4
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#3C299F
secondary
#B0BF65
accent
#E246C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C299F

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

Preview Lab → · Contrast checker → · Palette generator →

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