#3B38C5#3B38C5

#3B38C5 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.210 H 274.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3B38C5
RGBrgb(59, 56, 197)
HSLhsl(241, 56%, 50%)
HSVhsv(241, 72%, 77%)
CMYKcmyk(70.1%, 71.6%, 0%, 22.7%)
CIE-LABlab(33.54, 46.01, -72.52)
CIE-LCHlch(33.54, 85.89, 302.39°)
OKLaboklab(44.66% 0.0171 -0.2097)
OKLCHoklch(44.66% 0.21 274.7)
XYZxyz(13.2925, 7.7881, 53.6152)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B38C5 #C2C538
analogous
#387BC5 #3B38C5 #8238C5
triadic
#3B38C5 #C53B38 #38C53B
tetradic
#3B38C5 #C5387B #C2C538 #38C582
square
#3B38C5 #C5387B #C2C538 #38C582
split-complementary
#3B38C5 #C58238 #7BC538
monochromatic
#1E1D66 #2D2A95 #3B38C5 #6967D4 #9896E1

Accessibility & contrast

On white

8.21
#3B38C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3B38C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B38C5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B38C5#FFFFFF#000000##FFFFFF
##3B38C51.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3b38c5;
/* rgb */ color: rgb(59, 56, 197);
/* oklch */ color: oklch(44.7% 0.210 274.7);
Tailwind
colors: {
  custom: {
    50: '#8470d8',
    500: '#3b38c5',
    950: '#000000',
  },
}
SCSS
$custom: #3b38c5;
$custom-light: #8470d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b38c5",
  "rgb": {
    "r": 59,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 241.277,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.21037,
    "h": 274.7
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#3B38C5
secondary
#CBCD8C
accent
#DF49DC
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3B38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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