#3C418F#3C418F

#3C418F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.127 H 276.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3C418F
RGBrgb(60, 65, 143)
HSLhsl(236, 41%, 40%)
HSVhsv(236, 58%, 56%)
CMYKcmyk(58%, 54.5%, 0%, 43.9%)
CIE-LABlab(31.17, 22.11, -44.04)
CIE-LCHlch(31.17, 49.28, 296.65°)
OKLaboklab(41.53% 0.0146 -0.1261)
OKLCHoklch(41.53% 0.127 276.6)
XYZxyz(8.7101, 6.7238, 26.8201)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C418F #8F8A3C
analogous
#3C6A8F #3C418F #613C8F
triadic
#3C418F #8F3C41 #418F3C
tetradic
#3C418F #8F3C6A #8F8A3C #3C8F61
square
#3C418F #8F3C6A #8F8A3C #3C8F61
split-complementary
#3C418F #8F613C #6A8F3C
monochromatic
#181A39 #2A2D64 #3C418F #5258B6 #7D82C8

Accessibility & contrast

On white

8.96
#3C418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3C418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C418F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C418F#FFFFFF#000000##FFFFFF
##3C418F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#0C5361
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3c418f;
/* rgb */ color: rgb(60, 65, 143);
/* oklch */ color: oklch(41.5% 0.127 276.6);
Tailwind
colors: {
  custom: {
    50: '#7975b0',
    500: '#3c418f',
    950: '#000000',
  },
}
SCSS
$custom: #3c418f;
$custom-light: #7975b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c418f",
  "rgb": {
    "r": 60,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 236.386,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41531,
    "c": 0.12691,
    "h": 276.6
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#3C418F
secondary
#B2AE75
accent
#C957D1
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3C418F

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

Preview Lab → · Contrast checker → · Palette generator →

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