#3C2D98#3C2D98

#3C2D98 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.166 H 281.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#3C2D98
RGBrgb(60, 45, 152)
HSLhsl(248, 54%, 39%)
HSVhsv(248, 70%, 60%)
CMYKcmyk(60.5%, 70.4%, 0%, 40.4%)
CIE-LABlab(27.03, 37.84, -56.30)
CIE-LCHlch(27.03, 67.84, 303.91°)
OKLaboklab(38.72% 0.0337 -0.1622)
OKLCHoklch(38.72% 0.166 281.7)
XYZxyz(8.4676, 5.1038, 30.2386)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2D98 #89982D
analogous
#2D5398 #3C2D98 #712D98
triadic
#3C2D98 #983C2D #2D983C
tetradic
#3C2D98 #982D53 #89982D #2D9871
square
#3C2D98 #982D53 #89982D #2D9871
split-complementary
#3C2D98 #98712D #53982D
monochromatic
#17113A #291F69 #3C2D98 #503DC5 #7A6CD3

Accessibility & contrast

On white

10.39
#3C2D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3C2D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2D98
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2D98#FFFFFF#000000##FFFFFF
##3C2D981.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c2d98;
/* rgb */ color: rgb(60, 45, 152);
/* oklch */ color: oklch(38.7% 0.166 281.7);
Tailwind
colors: {
  custom: {
    50: '#7d67b7',
    500: '#3c2d98',
    950: '#000000',
  },
}
SCSS
$custom: #3c2d98;
$custom-light: #7d67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2d98",
  "rgb": {
    "r": 60,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 248.411,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.16565,
    "h": 281.7
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#3C2D98
secondary
#AFBA66
accent
#DE4AC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3C2D98

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

Preview Lab → · Contrast checker → · Palette generator →

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