#3C2F91#3C2F91

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

Color values

HEX#3C2F91
RGBrgb(60, 47, 145)
HSLhsl(248, 51%, 38%)
HSVhsv(248, 68%, 57%)
CMYKcmyk(58.6%, 67.6%, 0%, 43.1%)
CIE-LABlab(26.84, 34.36, -52.30)
CIE-LCHlch(26.84, 62.58, 303.31°)
OKLaboklab(38.39% 0.033 -0.1505)
OKLCHoklch(38.39% 0.154 282.4)
XYZxyz(7.9892, 5.0375, 27.3339)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2F91 #84912F
analogous
#2F5391 #3C2F91 #6D2F91
triadic
#3C2F91 #913C2F #2F913C
tetradic
#3C2F91 #912F53 #84912F #2F916D
square
#3C2F91 #912F53 #84912F #2F916D
split-complementary
#3C2F91 #916D2F #53912F
monochromatic
#161135 #292063 #3C2F91 #4F3EBF #796BCF

Accessibility & contrast

On white

10.46
#3C2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C2F91
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2F91#FFFFFF#000000##FFFFFF
##3C2F911.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#0D485C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c2f91;
/* rgb */ color: rgb(60, 47, 145);
/* oklch */ color: oklch(38.4% 0.154 282.4);
Tailwind
colors: {
  custom: {
    50: '#7b68b2',
    500: '#3c2f91',
    950: '#000000',
  },
}
SCSS
$custom: #3c2f91;
$custom-light: #7b68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2f91",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 247.959,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38391,
    "c": 0.15404,
    "h": 282.4
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#3C2F91
secondary
#ACB665
accent
#DB4DC8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3C2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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