#3C299C#3C299C

#3C299C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.175 H 281.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3C299C
RGBrgb(60, 41, 156)
HSLhsl(250, 58%, 39%)
HSVhsv(250, 74%, 61%)
CMYKcmyk(61.5%, 73.7%, 0%, 38.8%)
CIE-LABlab(26.58, 41.41, -59.48)
CIE-LCHlch(26.58, 72.48, 304.85°)
OKLaboklab(38.52% 0.0361 -0.1715)
OKLCHoklch(38.52% 0.175 281.9)
XYZxyz(8.6553, 4.9462, 31.9447)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C299C #899C29
analogous
#294F9C #3C299C #75299C
triadic
#3C299C #9C3C29 #299C3C
tetradic
#3C299C #9C294F #899C29 #299C75
square
#3C299C #9C294F #899C29 #299C75
split-complementary
#3C299C #9C7529 #4F9C29
monochromatic
#17103B #291C6C #3C299C #5038CB #7A68D7

Accessibility & contrast

On white

10.56
#3C299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3C299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C299C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C299C#FFFFFF#000000##FFFFFF
##3C299C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c299c;
/* rgb */ color: rgb(60, 41, 156);
/* oklch */ color: oklch(38.5% 0.175 281.9);
Tailwind
colors: {
  custom: {
    50: '#7e65ba',
    500: '#3c299c',
    950: '#000000',
  },
}
SCSS
$custom: #3c299c;
$custom-light: #7e65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c299c",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 249.913,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38516,
    "c": 0.17523,
    "h": 281.9
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C299C

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

Preview Lab → · Contrast checker → · Palette generator →

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