#3C2F87#3C2F87

#3C2F87 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.141 H 284.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#3C2F87
RGBrgb(60, 47, 135)
HSLhsl(249, 48%, 36%)
HSVhsv(249, 65%, 53%)
CMYKcmyk(55.6%, 65.2%, 0%, 47.1%)
CIE-LABlab(25.99, 31.08, -47.49)
CIE-LCHlch(25.99, 56.76, 303.21°)
OKLaboklab(37.51% 0.0341 -0.1363)
OKLCHoklch(37.51% 0.141 284.1)
XYZxyz(7.2518, 4.7425, 23.4503)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2F87 #7A872F
analogous
#2F4E87 #3C2F87 #682F87
triadic
#3C2F87 #873C2F #2F873C
tetradic
#3C2F87 #872F4E #7A872F #2F8768
square
#3C2F87 #872F4E #7A872F #2F8768
split-complementary
#3C2F87 #87682F #4E872F
monochromatic
#140F2C #281F5A #3C2F87 #503FB4 #7566CA

Accessibility & contrast

On white

10.78
#3C2F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3C2F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2F87
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2F87#FFFFFF#000000##FFFFFF
##3C2F871.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#1B4556
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c2f87;
/* rgb */ color: rgb(60, 47, 135);
/* oklch */ color: oklch(37.5% 0.141 284.1);
Tailwind
colors: {
  custom: {
    50: '#7968ab',
    500: '#3c2f87',
    950: '#000000',
  },
}
SCSS
$custom: #3c2f87;
$custom-light: #7968ab;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2f87",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 248.864,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.14053,
    "h": 284.1
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#3C2F87
secondary
#A5B161
accent
#D850C4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3C2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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