#3D38D0#3D38D0

#3D38D0 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.223 H 274.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3D38D0
RGBrgb(61, 56, 208)
HSLhsl(242, 62%, 52%)
HSVhsv(242, 73%, 82%)
CMYKcmyk(70.7%, 73.1%, 0%, 18.4%)
CIE-LABlab(34.75, 49.77, -76.93)
CIE-LCHlch(34.75, 91.62, 302.90°)
OKLaboklab(45.88% 0.0177 -0.2225)
OKLCHoklch(45.88% 0.223 274.5)
XYZxyz(14.7200, 8.3731, 60.5027)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38D0 #CBD038
analogous
#387FD0 #3D38D0 #8938D0
triadic
#3D38D0 #D03D38 #38D03D
tetradic
#3D38D0 #D0387F #CBD038 #38D089
square
#3D38D0 #D0387F #CBD038 #38D089
split-complementary
#3D38D0 #D08938 #7FD038
monochromatic
#1E1B73 #2B27A4 #3D38D0 #6D6ADC #9E9BE7

Accessibility & contrast

On white

7.85
#3D38D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3D38D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38D0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38D0#FFFFFF#000000##FFFFFF
##3D38D01.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D4
Deuteranopia (green-blind)
#004BCD
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d38d0;
/* rgb */ color: rgb(61, 56, 208);
/* oklch */ color: oklch(45.9% 0.223 274.5);
Tailwind
colors: {
  custom: {
    50: '#8871e0',
    500: '#3d38d0',
    950: '#000000',
  },
}
SCSS
$custom: #3d38d0;
$custom-light: #8871e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38d0",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 241.974,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.22316,
    "h": 274.5
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#3D38D0
secondary
#D1D391
accent
#E543E0
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3D38D0

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

Preview Lab → · Contrast checker → · Palette generator →

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