#3C308F#3C308F

#3C308F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.150 H 282.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3C308F
RGBrgb(60, 48, 143)
HSLhsl(248, 50%, 37%)
HSVhsv(248, 66%, 56%)
CMYKcmyk(58%, 66.4%, 0%, 43.9%)
CIE-LABlab(26.90, 33.09, -50.98)
CIE-LCHlch(26.90, 60.77, 302.99°)
OKLaboklab(38.38% 0.0323 -0.1466)
OKLCHoklch(38.38% 0.15 282.4)
XYZxyz(7.8768, 5.0572, 26.5424)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C308F #838F30
analogous
#30548F #3C308F #6C308F
triadic
#3C308F #8F3C30 #308F3C
tetradic
#3C308F #8F3054 #838F30 #308F6C
square
#3C308F #8F3054 #838F30 #308F6C
split-complementary
#3C308F #8F6C30 #548F30
monochromatic
#161133 #292161 #3C308F #4F3FBD #786CCE

Accessibility & contrast

On white

10.44
#3C308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3C308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C308F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C308F#FFFFFF#000000##FFFFFF
##3C308F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#10485B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c308f;
/* rgb */ color: rgb(60, 48, 143);
/* oklch */ color: oklch(38.4% 0.150 282.4);
Tailwind
colors: {
  custom: {
    50: '#7b69b1',
    500: '#3c308f',
    950: '#000000',
  },
}
SCSS
$custom: #3c308f;
$custom-light: #7b69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c308f",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 247.579,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38378,
    "c": 0.15008,
    "h": 282.4
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#3C308F
secondary
#ABB566
accent
#D94FC8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3C308F

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

Preview Lab → · Contrast checker → · Palette generator →

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