#3C3FAF#3C3FAF

#3C3FAF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.174 H 275.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3C3FAF
RGBrgb(60, 63, 175)
HSLhsl(238, 49%, 46%)
HSVhsv(238, 66%, 69%)
CMYKcmyk(65.7%, 64%, 0%, 31.4%)
CIE-LABlab(33.16, 34.53, -60.16)
CIE-LCHlch(33.16, 69.36, 299.85°)
OKLaboklab(43.79% 0.0162 -0.1735)
OKLCHoklch(43.79% 0.174 275.3)
XYZxyz(11.3763, 7.6098, 41.4185)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3FAF #AFAC3C
analogous
#3C78AF #3C3FAF #723CAF
triadic
#3C3FAF #AF3C3F #3FAF3C
tetradic
#3C3FAF #AF3C78 #AFAC3C #3CAF72
square
#3C3FAF #AF3C78 #AFAC3C #3CAF72
split-complementary
#3C3FAF #AF723C #78AF3C
monochromatic
#1D1E54 #2C2F81 #3C3FAF #6063C8 #8D8FD8

Accessibility & contrast

On white

8.33
#3C3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3C3FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3FAF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3FAF#FFFFFF#000000##FFFFFF
##3C3FAF1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3c3faf;
/* rgb */ color: rgb(60, 63, 175);
/* oklch */ color: oklch(43.8% 0.174 275.3);
Tailwind
colors: {
  custom: {
    50: '#8074c8',
    500: '#3c3faf',
    950: '#000000',
  },
}
SCSS
$custom: #3c3faf;
$custom-light: #8074c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3faf",
  "rgb": {
    "r": 60,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 238.435,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.17421,
    "h": 275.3
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#3C3FAF
secondary
#C3C184
accent
#D54FD8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3C3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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