#3C3CAB#3C3CAB

#3C3CAB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.173 H 276.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3C3CAB
RGBrgb(60, 60, 171)
HSLhsl(240, 48%, 45%)
HSVhsv(240, 65%, 67%)
CMYKcmyk(64.9%, 64.9%, 0%, 32.9%)
CIE-LABlab(32.10, 35.03, -59.49)
CIE-LCHlch(32.10, 69.04, 300.49°)
OKLaboklab(42.91% 0.0189 -0.1715)
OKLCHoklch(42.91% 0.173 276.3)
XYZxyz(10.8276, 7.1317, 39.3262)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3CAB #ABAB3C
analogous
#3C73AB #3C3CAB #733CAB
triadic
#3C3CAB #AB3C3C #3CAB3C
tetradic
#3C3CAB #AB3C73 #ABAB3C #3CAB73
square
#3C3CAB #AB3C73 #ABAB3C #3CAB73
split-complementary
#3C3CAB #AB733C #73AB3C
monochromatic
#1C1C50 #2C2C7E #3C3CAB #5E5EC6 #8B8BD6

Accessibility & contrast

On white

8.65
#3C3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3C3CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3CAB
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3CAB#FFFFFF#000000##FFFFFF
##3C3CAB1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3c3cab;
/* rgb */ color: rgb(60, 60, 171);
/* oklch */ color: oklch(42.9% 0.173 276.3);
Tailwind
colors: {
  custom: {
    50: '#7f72c5',
    500: '#3c3cab',
    950: '#000000',
  },
}
SCSS
$custom: #3c3cab;
$custom-light: #7f72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3cab",
  "rgb": {
    "r": 60,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 240,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.17255,
    "h": 276.3
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#3C3CAB
secondary
#C1C182
accent
#D850D8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3C3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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