#3D38D3#3D38D3

#3D38D3 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.2% C 0.227 H 274.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3D38D3
RGBrgb(61, 56, 211)
HSLhsl(242, 64%, 52%)
HSVhsv(242, 73%, 83%)
CMYKcmyk(71.1%, 73.5%, 0%, 17.3%)
CIE-LABlab(35.05, 50.72, -78.17)
CIE-LCHlch(35.05, 93.19, 302.98°)
OKLaboklab(46.18% 0.0171 -0.2261)
OKLCHoklch(46.18% 0.227 274.3)
XYZxyz(15.0926, 8.5221, 62.4649)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38D3 #CED338
analogous
#3881D3 #3D38D3 #8A38D3
triadic
#3D38D3 #D33D38 #38D33D
tetradic
#3D38D3 #D33881 #CED338 #38D38A
square
#3D38D3 #D33881 #CED338 #38D38A
split-complementary
#3D38D3 #D38A38 #81D338
monochromatic
#1D1A76 #2925A9 #3D38D3 #6E6ADE #9F9CE9

Accessibility & contrast

On white

7.76
#3D38D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3D38D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38D3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38D3#FFFFFF#000000##FFFFFF
##3D38D31.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD8
Deuteranopia (green-blind)
#004BD0
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d38d3;
/* rgb */ color: rgb(61, 56, 211);
/* oklch */ color: oklch(46.2% 0.227 274.3);
Tailwind
colors: {
  custom: {
    50: '#8871e2',
    500: '#3d38d3',
    950: '#000000',
  },
}
SCSS
$custom: #3d38d3;
$custom-light: #8871e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38d3",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 241.935,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46177,
    "c": 0.22673,
    "h": 274.3
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#3D38D3
secondary
#D3D592
accent
#E741E1
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3D38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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