#3C339F#3C339F

#3C339F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.168 H 279.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3C339F
RGBrgb(60, 51, 159)
HSLhsl(245, 51%, 41%)
HSVhsv(245, 68%, 62%)
CMYKcmyk(62.3%, 67.9%, 0%, 37.6%)
CIE-LABlab(28.98, 36.54, -57.37)
CIE-LCHlch(28.98, 68.02, 302.50°)
OKLaboklab(40.32% 0.0277 -0.1653)
OKLCHoklch(40.32% 0.168 279.5)
XYZxyz(9.3033, 5.8308, 33.4294)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C339F #969F33
analogous
#33609F #3C339F #72339F
triadic
#3C339F #9F3C33 #339F3C
tetradic
#3C339F #9F3360 #969F33 #339F72
square
#3C339F #9F3360 #969F33 #339F72
split-complementary
#3C339F #9F7233 #609F33
monochromatic
#191542 #2B2471 #3C339F #544AC5 #8079D4

Accessibility & contrast

On white

9.69
#3C339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3C339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C339F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C339F#FFFFFF#000000##FFFFFF
##3C339F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c339f;
/* rgb */ color: rgb(60, 51, 159);
/* oklch */ color: oklch(40.3% 0.168 279.5);
Tailwind
colors: {
  custom: {
    50: '#7d6cbc',
    500: '#3c339f',
    950: '#000000',
  },
}
SCSS
$custom: #3c339f;
$custom-light: #7d6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c339f",
  "rgb": {
    "r": 60,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 245,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.16761,
    "h": 279.5
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#3C339F
secondary
#B6BC71
accent
#DB4DCF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3C339F

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

Preview Lab → · Contrast checker → · Palette generator →

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