#3C30B7#3C30B7

#3C30B7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.201 H 277.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3C30B7
RGBrgb(60, 48, 183)
HSLhsl(245, 58%, 45%)
HSVhsv(245, 74%, 72%)
CMYKcmyk(67.2%, 73.8%, 0%, 28.2%)
CIE-LABlab(30.62, 46.09, -69.08)
CIE-LCHlch(30.62, 83.04, 303.71°)
OKLaboklab(42.18% 0.0257 -0.1995)
OKLCHoklch(42.18% 0.201 277.3)
XYZxyz(11.4649, 6.4925, 45.4395)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C30B7 #ABB730
analogous
#3068B7 #3C30B7 #7F30B7
triadic
#3C30B7 #B73C30 #30B73C
tetradic
#3C30B7 #B73068 #ABB730 #30B77F
square
#3C30B7 #B73068 #ABB730 #30B77F
split-complementary
#3C30B7 #B77F30 #68B730
monochromatic
#1C1756 #2C2387 #3C30B7 #5E52D2 #8B83DE

Accessibility & contrast

On white

9.14
#3C30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3C30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C30B7
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C30B7#FFFFFF#000000##FFFFFF
##3C30B71.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3c30b7;
/* rgb */ color: rgb(60, 48, 183);
/* oklch */ color: oklch(42.2% 0.201 277.3);
Tailwind
colors: {
  custom: {
    50: '#836bce',
    500: '#3c30b7',
    950: '#000000',
  },
}
SCSS
$custom: #3c30b7;
$custom-light: #836bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3c30b7",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 245.333,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42184,
    "c": 0.20118,
    "h": 277.3
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#3C30B7
secondary
#C1C87B
accent
#E246D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3C30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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