#3C337D#3C337D

#3C337D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.121 H 284.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3C337D
RGBrgb(60, 51, 125)
HSLhsl(247, 42%, 35%)
HSVhsv(247, 59%, 49%)
CMYKcmyk(52%, 59.2%, 0%, 51%)
CIE-LABlab(26.18, 25.22, -40.91)
CIE-LCHlch(26.18, 48.05, 301.65°)
OKLaboklab(37.4% 0.0301 -0.1169)
OKLCHoklch(37.4% 0.121 284.4)
XYZxyz(6.7479, 4.8086, 19.9707)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C337D #747D33
analogous
#334F7D #3C337D #61337D
triadic
#3C337D #7D3C33 #337D3C
tetradic
#3C337D #7D334F #747D33 #337D61
square
#3C337D #7D334F #747D33 #337D61
split-complementary
#3C337D #7D6133 #4F7D33
monochromatic
#121026 #272152 #3C337D #5145A8 #7469C2

Accessibility & contrast

On white

10.70
#3C337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3C337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C337D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C337D#FFFFFF#000000##FFFFFF
##3C337D1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#244452
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c337d;
/* rgb */ color: rgb(60, 51, 125);
/* oklch */ color: oklch(37.4% 0.121 284.4);
Tailwind
colors: {
  custom: {
    50: '#776ba3',
    500: '#3c337d',
    950: '#000000',
  },
}
SCSS
$custom: #3c337d;
$custom-light: #776ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c337d",
  "rgb": {
    "r": 60,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 247.297,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.374,
    "c": 0.12076,
    "h": 284.4
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#3C337D
secondary
#A1AA62
accent
#D256C3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3C337D

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

Preview Lab → · Contrast checker → · Palette generator →

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