#3D38CF#3D38CF

#3D38CF is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.222 H 274.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3D38CF
RGBrgb(61, 56, 207)
HSLhsl(242, 61%, 52%)
HSVhsv(242, 73%, 81%)
CMYKcmyk(70.5%, 72.9%, 0%, 18.8%)
CIE-LABlab(34.65, 49.45, -76.51)
CIE-LCHlch(34.65, 91.10, 302.87°)
OKLaboklab(45.78% 0.0178 -0.2212)
OKLCHoklch(45.78% 0.222 274.6)
XYZxyz(14.5974, 8.3240, 59.8568)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38CF #CACF38
analogous
#387FCF #3D38CF #8938CF
triadic
#3D38CF #CF3D38 #38CF3D
tetradic
#3D38CF #CF387F #CACF38 #38CF89
square
#3D38CF #CF387F #CACF38 #38CF89
split-complementary
#3D38CF #CF8938 #7FCF38
monochromatic
#1E1B71 #2B27A3 #3D38CF #6D69DB #9D9BE7

Accessibility & contrast

On white

7.88
#3D38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38CF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38CF#FFFFFF#000000##FFFFFF
##3D38CF1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004ACC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d38cf;
/* rgb */ color: rgb(61, 56, 207);
/* oklch */ color: oklch(45.8% 0.222 274.6);
Tailwind
colors: {
  custom: {
    50: '#8771df',
    500: '#3d38cf',
    950: '#000000',
  },
}
SCSS
$custom: #3d38cf;
$custom-light: #8771df;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38cf",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 241.987,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.22197,
    "h": 274.6
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#3D38CF
secondary
#D0D390
accent
#E444DF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3D38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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