#3C2F99#3C2F99

#3C2F99 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.165 H 281.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#3C2F99
RGBrgb(60, 47, 153)
HSLhsl(247, 53%, 39%)
HSVhsv(247, 69%, 60%)
CMYKcmyk(60.8%, 69.3%, 0%, 40%)
CIE-LABlab(27.55, 36.98, -56.05)
CIE-LCHlch(27.55, 67.15, 303.42°)
OKLaboklab(39.13% 0.0319 -0.1614)
OKLCHoklch(39.13% 0.165 281.2)
XYZxyz(8.6280, 5.2930, 30.6978)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2F99 #8C992F
analogous
#2F5799 #3C2F99 #712F99
triadic
#3C2F99 #993C2F #2F993C
tetradic
#3C2F99 #992F57 #8C992F #2F9971
square
#3C2F99 #992F57 #8C992F #2F9971
split-complementary
#3C2F99 #99712F #57992F
monochromatic
#17123B #2A216A #3C2F99 #5141C5 #7C6FD3

Accessibility & contrast

On white

10.20
#3C2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3C2F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2F99
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2F99#FFFFFF#000000##FFFFFF
##3C2F991.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c2f99;
/* rgb */ color: rgb(60, 47, 153);
/* oklch */ color: oklch(39.1% 0.165 281.2);
Tailwind
colors: {
  custom: {
    50: '#7d69b8',
    500: '#3c2f99',
    950: '#000000',
  },
}
SCSS
$custom: #3c2f99;
$custom-light: #7d69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2f99",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 247.358,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39125,
    "c": 0.16457,
    "h": 281.2
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#3C2F99
secondary
#B0BA69
accent
#DC4BCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3C2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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