#3C2D90#3C2D90

#3C2D90 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.155 H 283.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3C2D90
RGBrgb(60, 45, 144)
HSLhsl(249, 52%, 37%)
HSVhsv(249, 69%, 56%)
CMYKcmyk(58.3%, 68.7%, 0%, 43.5%)
CIE-LABlab(26.30, 35.25, -52.56)
CIE-LCHlch(26.30, 63.29, 303.85°)
OKLaboklab(37.98% 0.035 -0.1512)
OKLCHoklch(37.98% 0.155 283)
XYZxyz(7.8344, 4.8506, 26.9036)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2D90 #81902D
analogous
#2D5090 #3C2D90 #6E2D90
triadic
#3C2D90 #903C2D #2D903C
tetradic
#3C2D90 #902D50 #81902D #2D906E
square
#3C2D90 #902D50 #81902D #2D906E
split-complementary
#3C2D90 #906E2D #50902D
monochromatic
#151033 #291E61 #3C2D90 #4F3CBF #7768D0

Accessibility & contrast

On white

10.66
#3C2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3C2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2D90
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2D90#FFFFFF#000000##FFFFFF
##3C2D901.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#0F465A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c2d90;
/* rgb */ color: rgb(60, 45, 144);
/* oklch */ color: oklch(38.0% 0.155 283.0);
Tailwind
colors: {
  custom: {
    50: '#7b67b1',
    500: '#3c2d90',
    950: '#000000',
  },
}
SCSS
$custom: #3c2d90;
$custom-light: #7b67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2d90",
  "rgb": {
    "r": 60,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 249.091,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37977,
    "c": 0.15522,
    "h": 283
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#3C2D90
secondary
#AAB662
accent
#DC4CC6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3C2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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