#3C3DAB#3C3DAB

#3C3DAB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.171 H 276.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3C3DAB
RGBrgb(60, 61, 171)
HSLhsl(239, 48%, 45%)
HSVhsv(239, 65%, 67%)
CMYKcmyk(64.9%, 64.3%, 0%, 32.9%)
CIE-LABlab(32.34, 34.41, -59.10)
CIE-LCHlch(32.34, 68.39, 300.21°)
OKLaboklab(43.09% 0.0181 -0.1704)
OKLCHoklch(43.09% 0.171 276.1)
XYZxyz(10.8805, 7.2375, 39.3438)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3DAB #ABAA3C
analogous
#3C75AB #3C3DAB #723CAB
triadic
#3C3DAB #AB3C3D #3DAB3C
tetradic
#3C3DAB #AB3C75 #ABAA3C #3CAB72
square
#3C3DAB #AB3C75 #ABAA3C #3CAB72
split-complementary
#3C3DAB #AB723C #75AB3C
monochromatic
#1C1D50 #2C2D7E #3C3DAB #5E5FC6 #8B8CD6

Accessibility & contrast

On white

8.58
#3C3DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3C3DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3DAB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3DAB#FFFFFF#000000##FFFFFF
##3C3DAB1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c3dab;
/* rgb */ color: rgb(60, 61, 171);
/* oklch */ color: oklch(43.1% 0.171 276.1);
Tailwind
colors: {
  custom: {
    50: '#7f73c5',
    500: '#3c3dab',
    950: '#000000',
  },
}
SCSS
$custom: #3c3dab;
$custom-light: #7f73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3dab",
  "rgb": {
    "r": 60,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 239.459,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43085,
    "c": 0.17133,
    "h": 276.1
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#3C3DAB
secondary
#C1C082
accent
#D650D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3C3DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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