#3C339D#3C339D

#3C339D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.165 H 279.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3C339D
RGBrgb(60, 51, 157)
HSLhsl(245, 51%, 41%)
HSVhsv(245, 68%, 62%)
CMYKcmyk(61.8%, 67.5%, 0%, 38.4%)
CIE-LABlab(28.80, 35.88, -56.44)
CIE-LCHlch(28.80, 66.88, 302.44°)
OKLaboklab(40.14% 0.0279 -0.1626)
OKLCHoklch(40.14% 0.165 279.7)
XYZxyz(9.1312, 5.7620, 32.5227)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C339D #949D33
analogous
#335F9D #3C339D #71339D
triadic
#3C339D #9D3C33 #339D3C
tetradic
#3C339D #9D335F #949D33 #339D71
square
#3C339D #9D335F #949D33 #339D71
split-complementary
#3C339D #9D7133 #5F9D33
monochromatic
#191541 #2A246F #3C339D #5449C4 #7F77D3

Accessibility & contrast

On white

9.76
#3C339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3C339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C339D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C339D#FFFFFF#000000##FFFFFF
##3C339D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c339d;
/* rgb */ color: rgb(60, 51, 157);
/* oklch */ color: oklch(40.1% 0.165 279.7);
Tailwind
colors: {
  custom: {
    50: '#7d6bbb',
    500: '#3c339d',
    950: '#000000',
  },
}
SCSS
$custom: #3c339d;
$custom-light: #7d6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c339d",
  "rgb": {
    "r": 60,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 245.094,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.16498,
    "h": 279.7
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#3C339D
secondary
#B5BB70
accent
#DA4DCE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3C339D

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

Preview Lab → · Contrast checker → · Palette generator →

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