#3C38AA#3C38AA

#3C38AA is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.176 H 277.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3C38AA
RGBrgb(60, 56, 170)
HSLhsl(242, 50%, 44%)
HSVhsv(242, 67%, 67%)
CMYKcmyk(64.7%, 67.1%, 0%, 33.3%)
CIE-LABlab(31.09, 37.17, -60.55)
CIE-LCHlch(31.09, 71.05, 301.54°)
OKLaboklab(42.15% 0.0222 -0.1746)
OKLCHoklch(42.15% 0.176 277.3)
XYZxyz(10.5310, 6.6904, 38.7588)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38AA #A6AA38
analogous
#386DAA #3C38AA #7538AA
triadic
#3C38AA #AA3C38 #38AA3C
tetradic
#3C38AA #AA386D #A6AA38 #38AA75
square
#3C38AA #AA386D #A6AA38 #38AA75
split-complementary
#3C38AA #AA7538 #6DAA38
monochromatic
#1C1A4E #2C297C #3C38AA #5B57C8 #8885D7

Accessibility & contrast

On white

8.98
#3C38AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C38AA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38AA#FFFFFF#000000##FFFFFF
##3C38AA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3c38aa;
/* rgb */ color: rgb(60, 56, 170);
/* oklch */ color: oklch(42.1% 0.176 277.3);
Tailwind
colors: {
  custom: {
    50: '#7f6fc4',
    500: '#3c38aa',
    950: '#000000',
  },
}
SCSS
$custom: #3c38aa;
$custom-light: #7f6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38aa",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 242.105,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42148,
    "c": 0.17604,
    "h": 277.3
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#3C38AA
secondary
#BEC17D
accent
#DA4ED5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3C38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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