#3C30AB#3C30AB

#3C30AB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.186 H 278.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#3C30AB
RGBrgb(60, 48, 171)
HSLhsl(246, 56%, 43%)
HSVhsv(246, 72%, 67%)
CMYKcmyk(64.9%, 71.9%, 0%, 32.9%)
CIE-LABlab(29.45, 42.24, -63.85)
CIE-LCHlch(29.45, 76.56, 303.49°)
OKLaboklab(41% 0.028 -0.1843)
OKLCHoklch(41% 0.186 278.6)
XYZxyz(10.2688, 6.0140, 39.1399)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C30AB #9FAB30
analogous
#3061AB #3C30AB #7A30AB
triadic
#3C30AB #AB3C30 #30AB3C
tetradic
#3C30AB #AB3061 #9FAB30 #30AB7A
square
#3C30AB #AB3061 #9FAB30 #30AB7A
split-complementary
#3C30AB #AB7A30 #61AB30
monochromatic
#1A154B #2B237B #3C30AB #584CCD #857BDA

Accessibility & contrast

On white

9.53
#3C30AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3C30AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C30AB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C30AB#FFFFFF#000000##FFFFFF
##3C30AB1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3c30ab;
/* rgb */ color: rgb(60, 48, 171);
/* oklch */ color: oklch(41.0% 0.186 278.6);
Tailwind
colors: {
  custom: {
    50: '#806ac5',
    500: '#3c30ab',
    950: '#000000',
  },
}
SCSS
$custom: #3c30ab;
$custom-light: #806ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c30ab",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 245.854,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40995,
    "c": 0.1864,
    "h": 278.6
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#3C30AB
secondary
#BBC374
accent
#DF48D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3C30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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