#3C2D8A#3C2D8A

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

Color values

HEX#3C2D8A
RGBrgb(60, 45, 138)
HSLhsl(250, 51%, 36%)
HSVhsv(250, 67%, 54%)
CMYKcmyk(56.5%, 67.4%, 0%, 45.9%)
CIE-LABlab(25.78, 33.30, -49.70)
CIE-LCHlch(25.78, 59.83, 303.83°)
OKLaboklab(37.43% 0.0358 -0.1428)
OKLCHoklch(37.43% 0.147 284.1)
XYZxyz(7.3879, 4.6720, 24.5523)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2D8A #7B8A2D
analogous
#2D4C8A #3C2D8A #6A2D8A
triadic
#3C2D8A #8A3C2D #2D8A3C
tetradic
#3C2D8A #8A2D4C #7B8A2D #2D8A6A
square
#3C2D8A #8A2D4C #7B8A2D #2D8A6A
split-complementary
#3C2D8A #8A6A2D #4C8A2D
monochromatic
#140F2E #281E5C #3C2D8A #503CB8 #7565CD

Accessibility & contrast

On white

10.86
#3C2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C2D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2D8A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2D8A#FFFFFF#000000##FFFFFF
##3C2D8A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#184457
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c2d8a;
/* rgb */ color: rgb(60, 45, 138);
/* oklch */ color: oklch(37.4% 0.147 284.1);
Tailwind
colors: {
  custom: {
    50: '#7a67ad',
    500: '#3c2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #3c2d8a;
$custom-light: #7a67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2d8a",
  "rgb": {
    "r": 60,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 249.677,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.14725,
    "h": 284.1
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#3C2D8A
secondary
#A6B360
accent
#DA4DC4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3C2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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