#3D38C2#3D38C2

#3D38C2 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.206 H 275.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3D38C2
RGBrgb(61, 56, 194)
HSLhsl(242, 55%, 49%)
HSVhsv(242, 71%, 76%)
CMYKcmyk(68.6%, 71.1%, 0%, 23.9%)
CIE-LABlab(33.38, 45.25, -71.02)
CIE-LCHlch(33.38, 84.21, 302.50°)
OKLaboklab(44.49% 0.0201 -0.2052)
OKLCHoklch(44.49% 0.206 275.6)
XYZxyz(13.0730, 7.7143, 51.8285)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38C2 #BDC238
analogous
#3878C2 #3D38C2 #8238C2
triadic
#3D38C2 #C23D38 #38C23D
tetradic
#3D38C2 #C23878 #BDC238 #38C282
square
#3D38C2 #C23878 #BDC238 #38C282
split-complementary
#3D38C2 #C28238 #78C238
monochromatic
#1F1D63 #2E2A93 #3D38C2 #6965D2 #9794E0

Accessibility & contrast

On white

8.26
#3D38C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3D38C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38C2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38C2#FFFFFF#000000##FFFFFF
##3D38C21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d38c2;
/* rgb */ color: rgb(61, 56, 194);
/* oklch */ color: oklch(44.5% 0.206 275.6);
Tailwind
colors: {
  custom: {
    50: '#8570d6',
    500: '#3d38c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d38c2;
$custom-light: #8570d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38c2",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 242.174,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.20621,
    "h": 275.6
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#3D38C2
secondary
#C9CB8A
accent
#DF49D9
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3D38C2

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

Preview Lab → · Contrast checker → · Palette generator →

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