#3C299E#3C299E

#3C299E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.178 H 281.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3C299E
RGBrgb(60, 41, 158)
HSLhsl(250, 59%, 39%)
HSVhsv(250, 74%, 62%)
CMYKcmyk(62%, 74.1%, 0%, 38%)
CIE-LABlab(26.78, 42.04, -60.38)
CIE-LCHlch(26.78, 73.57, 304.85°)
OKLaboklab(38.71% 0.0357 -0.1741)
OKLCHoklch(38.71% 0.178 281.6)
XYZxyz(8.8260, 5.0145, 32.8439)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C299E #8B9E29
analogous
#29509E #3C299E #77299E
triadic
#3C299E #9E3C29 #299E3C
tetradic
#3C299E #9E2950 #8B9E29 #299E77
square
#3C299E #9E2950 #8B9E29 #299E77
split-complementary
#3C299E #9E7729 #509E29
monochromatic
#17103D #2A1C6D #3C299E #5139CC #7B69D8

Accessibility & contrast

On white

10.48
#3C299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C299E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C299E#FFFFFF#000000##FFFFFF
##3C299E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c299e;
/* rgb */ color: rgb(60, 41, 158);
/* oklch */ color: oklch(38.7% 0.178 281.6);
Tailwind
colors: {
  custom: {
    50: '#7e65bc',
    500: '#3c299e',
    950: '#000000',
  },
}
SCSS
$custom: #3c299e;
$custom-light: #7e65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c299e",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 249.744,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38713,
    "c": 0.17772,
    "h": 281.6
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#3C299E
secondary
#B0BF64
accent
#E246C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C299E

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

Preview Lab → · Contrast checker → · Palette generator →

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