#3B38C4#3B38C4

#3B38C4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.209 H 274.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3B38C4
RGBrgb(59, 56, 196)
HSLhsl(241, 56%, 49%)
HSVhsv(241, 71%, 77%)
CMYKcmyk(69.9%, 71.4%, 0%, 23.1%)
CIE-LABlab(33.44, 45.68, -72.10)
CIE-LCHlch(33.44, 85.35, 302.36°)
OKLaboklab(44.56% 0.0173 -0.2084)
OKLCHoklch(44.56% 0.209 274.7)
XYZxyz(13.1783, 7.7424, 53.0138)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B38C4 #C1C438
analogous
#387BC4 #3B38C4 #8138C4
triadic
#3B38C4 #C43B38 #38C43B
tetradic
#3B38C4 #C4387B #C1C438 #38C481
square
#3B38C4 #C4387B #C1C438 #38C481
split-complementary
#3B38C4 #C48138 #7BC438
monochromatic
#1E1D65 #2D2A94 #3B38C4 #6866D3 #9796E1

Accessibility & contrast

On white

8.24
#3B38C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3B38C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B38C4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B38C4#FFFFFF#000000##FFFFFF
##3B38C41.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3b38c4;
/* rgb */ color: rgb(59, 56, 196);
/* oklch */ color: oklch(44.6% 0.209 274.7);
Tailwind
colors: {
  custom: {
    50: '#8470d7',
    500: '#3b38c4',
    950: '#000000',
  },
}
SCSS
$custom: #3b38c4;
$custom-light: #8470d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b38c4",
  "rgb": {
    "r": 59,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 241.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.20915,
    "h": 274.7
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#3B38C4
secondary
#CBCC8C
accent
#DF49DC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3B38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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