#3C307C#3C307C

#3C307C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.124 H 285.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#3C307C
RGBrgb(60, 48, 124)
HSLhsl(249, 44%, 34%)
HSVhsv(249, 61%, 49%)
CMYKcmyk(51.6%, 61.3%, 0%, 51.4%)
CIE-LABlab(25.35, 26.84, -41.62)
CIE-LCHlch(25.35, 49.52, 302.81°)
OKLaboklab(36.76% 0.0337 -0.1191)
OKLCHoklch(36.76% 0.124 285.8)
XYZxyz(6.5574, 4.5295, 19.5936)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C307C #707C30
analogous
#304A7C #3C307C #62307C
triadic
#3C307C #7C3C30 #307C3C
tetradic
#3C307C #7C304A #707C30 #307C62
square
#3C307C #7C304A #707C30 #307C62
split-complementary
#3C307C #7C6230 #4A7C30
monochromatic
#110E24 #271F50 #3C307C #5141A8 #7364C3

Accessibility & contrast

On white

11.02
#3C307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3C307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C307C
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C307C#FFFFFF#000000##FFFFFF
##3C307C1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#254251
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c307c;
/* rgb */ color: rgb(60, 48, 124);
/* oklch */ color: oklch(36.8% 0.124 285.8);
Tailwind
colors: {
  custom: {
    50: '#7769a2',
    500: '#3c307c',
    950: '#000000',
  },
}
SCSS
$custom: #3c307c;
$custom-light: #7769a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c307c",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 249.474,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.12374,
    "h": 285.8
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

primary
#3C307C
secondary
#9EAA5E
accent
#D454C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3C307C

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

Preview Lab → · Contrast checker → · Palette generator →

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