#3C339A#3C339A

#3C339A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.161 H 280.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3C339A
RGBrgb(60, 51, 154)
HSLhsl(245, 50%, 40%)
HSVhsv(245, 67%, 60%)
CMYKcmyk(61%, 66.9%, 0%, 39.6%)
CIE-LABlab(28.54, 34.88, -55.05)
CIE-LCHlch(28.54, 65.17, 302.36°)
OKLaboklab(39.86% 0.0283 -0.1585)
OKLCHoklch(39.86% 0.161 280.1)
XYZxyz(8.8782, 5.6608, 31.1904)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C339A #919A33
analogous
#335D9A #3C339A #70339A
triadic
#3C339A #9A3C33 #339A3C
tetradic
#3C339A #9A335D #919A33 #339A70
square
#3C339A #9A335D #919A33 #339A70
split-complementary
#3C339A #9A7033 #5D9A33
monochromatic
#18153E #2A246C #3C339A #5348C2 #7E76D2

Accessibility & contrast

On white

9.85
#3C339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C339A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C339A#FFFFFF#000000##FFFFFF
##3C339A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c339a;
/* rgb */ color: rgb(60, 51, 154);
/* oklch */ color: oklch(39.9% 0.161 280.1);
Tailwind
colors: {
  custom: {
    50: '#7c6bb9',
    500: '#3c339a',
    950: '#000000',
  },
}
SCSS
$custom: #3c339a;
$custom-light: #7c6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c339a",
  "rgb": {
    "r": 60,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 245.243,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.16101,
    "h": 280.1
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#3C339A
secondary
#B3BA6F
accent
#DA4ECE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #3C339A

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

Preview Lab → · Contrast checker → · Palette generator →

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