#3C30AA#3C30AA

#3C30AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.185 H 278.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3C30AA
RGBrgb(60, 48, 170)
HSLhsl(246, 56%, 43%)
HSVhsv(246, 72%, 67%)
CMYKcmyk(64.7%, 71.8%, 0%, 33.3%)
CIE-LABlab(29.35, 41.92, -63.40)
CIE-LCHlch(29.35, 76.01, 303.47°)
OKLaboklab(40.9% 0.0282 -0.183)
OKLCHoklch(40.9% 0.185 278.8)
XYZxyz(10.1738, 5.9760, 38.6398)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C30AA #9EAA30
analogous
#3061AA #3C30AA #7930AA
triadic
#3C30AA #AA3C30 #30AA3C
tetradic
#3C30AA #AA3061 #9EAA30 #30AA79
square
#3C30AA #AA3061 #9EAA30 #30AA79
split-complementary
#3C30AA #AA7930 #61AA30
monochromatic
#1A154B #2B237A #3C30AA #584BCC #847BDA

Accessibility & contrast

On white

9.57
#3C30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C30AA
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C30AA#FFFFFF#000000##FFFFFF
##3C30AA1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3c30aa;
/* rgb */ color: rgb(60, 48, 170);
/* oklch */ color: oklch(40.9% 0.185 278.8);
Tailwind
colors: {
  custom: {
    50: '#806ac4',
    500: '#3c30aa',
    950: '#000000',
  },
}
SCSS
$custom: #3c30aa;
$custom-light: #806ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c30aa",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 245.902,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.18514,
    "h": 278.8
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#3C30AA
secondary
#BAC274
accent
#DF49D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3C30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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