#3D38AE#3D38AE

#3D38AE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.181 H 277.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3D38AE
RGBrgb(61, 56, 174)
HSLhsl(243, 51%, 45%)
HSVhsv(243, 68%, 68%)
CMYKcmyk(64.9%, 67.8%, 0%, 31.8%)
CIE-LABlab(31.52, 38.65, -62.24)
CIE-LCHlch(31.52, 73.26, 301.84°)
OKLaboklab(42.59% 0.023 -0.1795)
OKLCHoklch(42.59% 0.181 277.3)
XYZxyz(10.9761, 6.8755, 40.7849)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38AE #A9AE38
analogous
#386EAE #3D38AE #7838AE
triadic
#3D38AE #AE3D38 #38AE3D
tetradic
#3D38AE #AE386E #A9AE38 #38AE78
square
#3D38AE #AE386E #A9AE38 #38AE78
split-complementary
#3D38AE #AE7838 #6EAE38
monochromatic
#1D1A51 #2D2980 #3D38AE #5E59CA #8B88D9

Accessibility & contrast

On white

8.84
#3D38AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3D38AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38AE
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38AE#FFFFFF#000000##FFFFFF
##3D38AE1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d38ae;
/* rgb */ color: rgb(61, 56, 174);
/* oklch */ color: oklch(42.6% 0.181 277.3);
Tailwind
colors: {
  custom: {
    50: '#806fc7',
    500: '#3d38ae',
    950: '#000000',
  },
}
SCSS
$custom: #3d38ae;
$custom-light: #806fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38ae",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 242.542,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.18101,
    "h": 277.3
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#3D38AE
secondary
#C0C37F
accent
#DB4DD5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3D38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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