#3C38AF#3C38AF

#3C38AF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.183 H 276.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3C38AF
RGBrgb(60, 56, 175)
HSLhsl(242, 52%, 45%)
HSVhsv(242, 68%, 69%)
CMYKcmyk(65.7%, 68%, 0%, 31.4%)
CIE-LABlab(31.54, 38.85, -62.81)
CIE-LCHlch(31.54, 73.85, 301.74°)
OKLaboklab(42.61% 0.0216 -0.1812)
OKLCHoklch(42.61% 0.183 276.8)
XYZxyz(11.0130, 6.8832, 41.2974)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38AF #ABAF38
analogous
#386FAF #3C38AF #7838AF
triadic
#3C38AF #AF3C38 #38AF3C
tetradic
#3C38AF #AF386F #ABAF38 #38AF78
square
#3C38AF #AF386F #ABAF38 #38AF78
split-complementary
#3C38AF #AF7838 #6FAF38
monochromatic
#1C1A52 #2C2981 #3C38AF #5E5ACA #8B88D9

Accessibility & contrast

On white

8.84
#3C38AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3C38AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38AF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38AF#FFFFFF#000000##FFFFFF
##3C38AF1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c38af;
/* rgb */ color: rgb(60, 56, 175);
/* oklch */ color: oklch(42.6% 0.183 276.8);
Tailwind
colors: {
  custom: {
    50: '#806fc8',
    500: '#3c38af',
    950: '#000000',
  },
}
SCSS
$custom: #3c38af;
$custom-light: #806fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38af",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 242.017,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.18252,
    "h": 276.8
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#3C38AF
secondary
#C1C380
accent
#DB4DD6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3C38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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