#3C348E#3C348E

#3C348E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.143 H 281.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3C348E
RGBrgb(60, 52, 142)
HSLhsl(245, 46%, 38%)
HSVhsv(245, 63%, 56%)
CMYKcmyk(57.7%, 63.4%, 0%, 44.3%)
CIE-LABlab(27.76, 30.24, -48.95)
CIE-LCHlch(27.76, 57.54, 301.71°)
OKLaboklab(38.98% 0.0284 -0.1406)
OKLCHoklch(38.98% 0.143 281.4)
XYZxyz(7.9724, 5.3691, 26.2022)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C348E #868E34
analogous
#34598E #3C348E #69348E
triadic
#3C348E #8E3C34 #348E3C
tetradic
#3C348E #8E3459 #868E34 #348E69
square
#3C348E #8E3459 #868E34 #348E69
split-complementary
#3C348E #8E6934 #598E34
monochromatic
#161334 #292461 #3C348E #4F44BB #7971CB

Accessibility & contrast

On white

10.13
#3C348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3C348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C348E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C348E#FFFFFF#000000##FFFFFF
##3C348E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#114A5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3c348e;
/* rgb */ color: rgb(60, 52, 142);
/* oklch */ color: oklch(39.0% 0.143 281.4);
Tailwind
colors: {
  custom: {
    50: '#7a6cb0',
    500: '#3c348e',
    950: '#000000',
  },
}
SCSS
$custom: #3c348e;
$custom-light: #7a6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c348e",
  "rgb": {
    "r": 60,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 245.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.14345,
    "h": 281.4
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#3C348E
secondary
#ADB36A
accent
#D652CA
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3C348E

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

Preview Lab → · Contrast checker → · Palette generator →

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