#3D38C5#3D38C5

#3D38C5 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.210 H 275.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3D38C5
RGBrgb(61, 56, 197)
HSLhsl(242, 56%, 50%)
HSVhsv(242, 72%, 77%)
CMYKcmyk(69%, 71.6%, 0%, 22.7%)
CIE-LABlab(33.67, 46.23, -72.30)
CIE-LCHlch(33.67, 85.82, 302.59°)
OKLaboklab(44.78% 0.0196 -0.209)
OKLCHoklch(44.78% 0.21 275.4)
XYZxyz(13.4134, 7.8504, 53.6209)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38C5 #C0C538
analogous
#3879C5 #3D38C5 #8438C5
triadic
#3D38C5 #C53D38 #38C53D
tetradic
#3D38C5 #C53879 #C0C538 #38C584
square
#3D38C5 #C53879 #C0C538 #38C584
split-complementary
#3D38C5 #C58438 #79C538
monochromatic
#1F1D66 #2E2A95 #3D38C5 #6A67D4 #9996E1

Accessibility & contrast

On white

8.17
#3D38C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3D38C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38C5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38C5#FFFFFF#000000##FFFFFF
##3D38C51.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d38c5;
/* rgb */ color: rgb(61, 56, 197);
/* oklch */ color: oklch(44.8% 0.210 275.4);
Tailwind
colors: {
  custom: {
    50: '#8570d8',
    500: '#3d38c5',
    950: '#000000',
  },
}
SCSS
$custom: #3d38c5;
$custom-light: #8570d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38c5",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 242.128,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.20989,
    "h": 275.4
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#3D38C5
secondary
#CACD8C
accent
#DF49DA
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3D38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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