#3C339E#3C339E

#3C339E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.166 H 279.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3C339E
RGBrgb(60, 51, 158)
HSLhsl(245, 51%, 41%)
HSVhsv(245, 68%, 62%)
CMYKcmyk(62%, 67.7%, 0%, 38%)
CIE-LABlab(28.89, 36.21, -56.91)
CIE-LCHlch(28.89, 67.45, 302.47°)
OKLaboklab(40.23% 0.0278 -0.164)
OKLCHoklch(40.23% 0.166 279.6)
XYZxyz(9.2169, 5.7963, 32.9742)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C339E #959E33
analogous
#335F9E #3C339E #71339E
triadic
#3C339E #9E3C33 #339E3C
tetradic
#3C339E #9E335F #959E33 #339E71
square
#3C339E #9E335F #959E33 #339E71
split-complementary
#3C339E #9E7133 #5F9E33
monochromatic
#191541 #2A2470 #3C339E #544AC4 #8078D3

Accessibility & contrast

On white

9.72
#3C339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3C339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C339E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C339E#FFFFFF#000000##FFFFFF
##3C339E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c339e;
/* rgb */ color: rgb(60, 51, 158);
/* oklch */ color: oklch(40.2% 0.166 279.6);
Tailwind
colors: {
  custom: {
    50: '#7d6bbc',
    500: '#3c339e',
    950: '#000000',
  },
}
SCSS
$custom: #3c339e;
$custom-light: #7d6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c339e",
  "rgb": {
    "r": 60,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 245.047,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.1663,
    "h": 279.6
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C339E

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

Preview Lab → · Contrast checker → · Palette generator →

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