#3C3C97#3C3C97

#3C3C97 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.145 H 277.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#3C3C97
RGBrgb(60, 60, 151)
HSLhsl(240, 43%, 41%)
HSVhsv(240, 60%, 59%)
CMYKcmyk(60.3%, 60.3%, 0%, 40.8%)
CIE-LABlab(30.46, 28.16, -50.08)
CIE-LCHlch(30.46, 57.46, 299.35°)
OKLaboklab(41.19% 0.02 -0.1439)
OKLCHoklch(41.19% 0.145 277.9)
XYZxyz(9.0635, 6.4261, 30.0349)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3C97 #97973C
analogous
#3C6A97 #3C3C97 #6A3C97
triadic
#3C3C97 #973C3C #3C973C
tetradic
#3C3C97 #973C6A #97973C #3C976A
square
#3C3C97 #973C6A #97973C #3C976A
split-complementary
#3C3C97 #976A3C #6A973C
monochromatic
#19193F #2B2B6B #3C3C97 #5555BB #8181CD

Accessibility & contrast

On white

9.19
#3C3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3C3C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3C97
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3C97#FFFFFF#000000##FFFFFF
##3C3C971.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3c3c97;
/* rgb */ color: rgb(60, 60, 151);
/* oklch */ color: oklch(41.2% 0.145 277.9);
Tailwind
colors: {
  custom: {
    50: '#7b72b6',
    500: '#3c3c97',
    950: '#000000',
  },
}
SCSS
$custom: #3c3c97;
$custom-light: #7b72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3c97",
  "rgb": {
    "r": 60,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41194,
    "c": 0.14526,
    "h": 277.9
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#3C3C97
secondary
#B7B778
accent
#D355D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3C3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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