#3D38BF#3D38BF

#3D38BF is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.2% C 0.203 H 275.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#3D38BF
RGBrgb(61, 56, 191)
HSLhsl(242, 55%, 48%)
HSVhsv(242, 71%, 75%)
CMYKcmyk(68.1%, 70.7%, 0%, 25.1%)
CIE-LABlab(33.09, 44.27, -69.73)
CIE-LCHlch(33.09, 82.59, 302.41°)
OKLaboklab(44.2% 0.0206 -0.2015)
OKLCHoklch(44.2% 0.203 275.8)
XYZxyz(12.7395, 7.5809, 50.0720)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38BF #BABF38
analogous
#3876BF #3D38BF #8038BF
triadic
#3D38BF #BF3D38 #38BF3D
tetradic
#3D38BF #BF3876 #BABF38 #38BF80
square
#3D38BF #BF3876 #BABF38 #38BF80
split-complementary
#3D38BF #BF8038 #76BF38
monochromatic
#1F1C60 #2E2A90 #3D38BF #6763D1 #9592DF

Accessibility & contrast

On white

8.35
#3D38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3D38BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38BF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38BF#FFFFFF#000000##FFFFFF
##3D38BF1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d38bf;
/* rgb */ color: rgb(61, 56, 191);
/* oklch */ color: oklch(44.2% 0.203 275.8);
Tailwind
colors: {
  custom: {
    50: '#8470d3',
    500: '#3d38bf',
    950: '#000000',
  },
}
SCSS
$custom: #3d38bf;
$custom-light: #8470d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38bf",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 242.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.20251,
    "h": 275.8
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#3D38BF
secondary
#C8CA89
accent
#DE4AD9
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3D38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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