#3C30B6#3C30B6

#3C30B6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.200 H 277.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#3C30B6
RGBrgb(60, 48, 182)
HSLhsl(245, 58%, 45%)
HSVhsv(245, 74%, 71%)
CMYKcmyk(67%, 73.6%, 0%, 28.6%)
CIE-LABlab(30.52, 45.77, -68.65)
CIE-LCHlch(30.52, 82.51, 303.69°)
OKLaboklab(42.08% 0.0259 -0.1983)
OKLCHoklch(42.08% 0.2 277.4)
XYZxyz(11.3612, 6.4510, 44.8933)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C30B6 #AAB630
analogous
#3067B6 #3C30B6 #7F30B6
triadic
#3C30B6 #B63C30 #30B63C
tetradic
#3C30B6 #B63067 #AAB630 #30B67F
square
#3C30B6 #B63067 #AAB630 #30B67F
split-complementary
#3C30B6 #B67F30 #67B630
monochromatic
#1C1655 #2C2386 #3C30B6 #5D52D1 #8B82DE

Accessibility & contrast

On white

9.17
#3C30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3C30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C30B6
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C30B6#FFFFFF#000000##FFFFFF
##3C30B61.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3c30b6;
/* rgb */ color: rgb(60, 48, 182);
/* oklch */ color: oklch(42.1% 0.200 277.4);
Tailwind
colors: {
  custom: {
    50: '#826acd',
    500: '#3c30b6',
    950: '#000000',
  },
}
SCSS
$custom: #3c30b6;
$custom-light: #826acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c30b6",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 245.373,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.19997,
    "h": 277.4
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#3C30B6
secondary
#C0C77B
accent
#E146D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3C30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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