#3D38C6#3D38C6

#3D38C6 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.211 H 275.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3D38C6
RGBrgb(61, 56, 198)
HSLhsl(242, 56%, 50%)
HSVhsv(242, 72%, 78%)
CMYKcmyk(69.2%, 71.7%, 0%, 22.4%)
CIE-LABlab(33.77, 46.55, -72.73)
CIE-LCHlch(33.77, 86.35, 302.62°)
OKLaboklab(44.88% 0.0194 -0.2102)
OKLCHoklch(44.88% 0.211 275.3)
XYZxyz(13.5283, 7.8964, 54.2263)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38C6 #C1C638
analogous
#387AC6 #3D38C6 #8438C6
triadic
#3D38C6 #C63D38 #38C63D
tetradic
#3D38C6 #C6387A #C1C638 #38C684
square
#3D38C6 #C6387A #C1C638 #38C684
split-complementary
#3D38C6 #C68438 #7AC638
monochromatic
#201D67 #2E2B96 #3D38C6 #6B67D4 #9997E2

Accessibility & contrast

On white

8.14
#3D38C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3D38C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38C6
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38C6#FFFFFF#000000##FFFFFF
##3D38C61.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d38c6;
/* rgb */ color: rgb(61, 56, 198);
/* oklch */ color: oklch(44.9% 0.211 275.3);
Tailwind
colors: {
  custom: {
    50: '#8570d9',
    500: '#3d38c6',
    950: '#000000',
  },
}
SCSS
$custom: #3d38c6;
$custom-light: #8570d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38c6",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 242.113,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44881,
    "c": 0.2111,
    "h": 275.3
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#3D38C6
secondary
#CBCD8D
accent
#DF49DA
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3D38C6

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

Preview Lab → · Contrast checker → · Palette generator →

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