#3C2E97#3C2E97

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

Color values

HEX#3C2E97
RGBrgb(60, 46, 151)
HSLhsl(248, 53%, 39%)
HSVhsv(248, 70%, 59%)
CMYKcmyk(60.3%, 69.5%, 0%, 40.8%)
CIE-LABlab(27.15, 36.93, -55.48)
CIE-LCHlch(27.15, 66.65, 303.65°)
OKLaboklab(38.78% 0.0331 -0.1598)
OKLCHoklch(38.78% 0.163 281.7)
XYZxyz(8.4246, 5.1484, 29.8220)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2E97 #89972E
analogous
#2E5497 #3C2E97 #702E97
triadic
#3C2E97 #973C2E #2E973C
tetradic
#3C2E97 #972E54 #89972E #2E9770
square
#3C2E97 #972E54 #89972E #2E9770
split-complementary
#3C2E97 #97702E #54972E
monochromatic
#171139 #292068 #3C2E97 #503EC4 #7A6DD2

Accessibility & contrast

On white

10.35
#3C2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3C2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2E97
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2E97#FFFFFF#000000##FFFFFF
##3C2E971.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c2e97;
/* rgb */ color: rgb(60, 46, 151);
/* oklch */ color: oklch(38.8% 0.163 281.7);
Tailwind
colors: {
  custom: {
    50: '#7c68b7',
    500: '#3c2e97',
    950: '#000000',
  },
}
SCSS
$custom: #3c2e97;
$custom-light: #7c68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2e97",
  "rgb": {
    "r": 60,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 248,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.16316,
    "h": 281.7
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#3C2E97
secondary
#AFBA67
accent
#DD4BC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3C2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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