#3C40AE#3C40AE

#3C40AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.172 H 275.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3C40AE
RGBrgb(60, 64, 174)
HSLhsl(238, 49%, 46%)
HSVhsv(238, 66%, 68%)
CMYKcmyk(65.5%, 63.2%, 0%, 31.8%)
CIE-LABlab(33.31, 33.55, -59.31)
CIE-LCHlch(33.31, 68.14, 299.50°)
OKLaboklab(43.87% 0.0154 -0.171)
OKLCHoklch(43.87% 0.172 275.2)
XYZxyz(11.3343, 7.6825, 40.9218)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C40AE #AEAA3C
analogous
#3C79AE #3C40AE #713CAE
triadic
#3C40AE #AE3C40 #40AE3C
tetradic
#3C40AE #AE3C79 #AEAA3C #3CAE71
square
#3C40AE #AE3C79 #AEAA3C #3CAE71
split-complementary
#3C40AE #AE713C #79AE3C
monochromatic
#1D1F53 #2C2F80 #3C40AE #5F63C8 #8D8FD8

Accessibility & contrast

On white

8.28
#3C40AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3C40AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C40AE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C40AE#FFFFFF#000000##FFFFFF
##3C40AE1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c40ae;
/* rgb */ color: rgb(60, 64, 174);
/* oklch */ color: oklch(43.9% 0.172 275.2);
Tailwind
colors: {
  custom: {
    50: '#7f75c7',
    500: '#3c40ae',
    950: '#000000',
  },
}
SCSS
$custom: #3c40ae;
$custom-light: #7f75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c40ae",
  "rgb": {
    "r": 60,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 237.895,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43874,
    "c": 0.17166,
    "h": 275.2
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

primary
#3C40AE
secondary
#C2C083
accent
#D350D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3C40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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