#3C30AF#3C30AF

#3C30AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.191 H 278.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3C30AF
RGBrgb(60, 48, 175)
HSLhsl(246, 57%, 44%)
HSVhsv(246, 73%, 69%)
CMYKcmyk(65.7%, 72.6%, 0%, 31.4%)
CIE-LABlab(29.83, 43.53, -65.61)
CIE-LCHlch(29.83, 78.74, 303.56°)
OKLaboklab(41.39% 0.0273 -0.1894)
OKLCHoklch(41.39% 0.191 278.2)
XYZxyz(10.6558, 6.1688, 41.1783)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C30AF #A3AF30
analogous
#3063AF #3C30AF #7B30AF
triadic
#3C30AF #AF3C30 #30AF3C
tetradic
#3C30AF #AF3063 #A3AF30 #30AF7B
square
#3C30AF #AF3063 #A3AF30 #30AF7B
split-complementary
#3C30AF #AF7B30 #63AF30
monochromatic
#1B164F #2C237F #3C30AF #5A4ECE #877EDC

Accessibility & contrast

On white

9.40
#3C30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3C30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C30AF
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C30AF#FFFFFF#000000##FFFFFF
##3C30AF1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3c30af;
/* rgb */ color: rgb(60, 48, 175);
/* oklch */ color: oklch(41.4% 0.191 278.2);
Tailwind
colors: {
  custom: {
    50: '#816ac8',
    500: '#3c30af',
    950: '#000000',
  },
}
SCSS
$custom: #3c30af;
$custom-light: #816ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c30af",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 245.669,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41387,
    "c": 0.19137,
    "h": 278.2
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#3C30AF
secondary
#BDC476
accent
#E048D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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