#3E38BB#3E38BB

#3E38BB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.9% C 0.197 H 276.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#3E38BB
RGBrgb(62, 56, 187)
HSLhsl(243, 54%, 48%)
HSVhsv(243, 70%, 73%)
CMYKcmyk(66.8%, 70.1%, 0%, 26.7%)
CIE-LABlab(32.79, 43.08, -67.88)
CIE-LCHlch(32.79, 80.39, 302.40°)
OKLaboklab(43.88% 0.0225 -0.196)
OKLCHoklch(43.88% 0.197 276.5)
XYZxyz(12.3675, 7.4393, 47.7882)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38BB #B5BB38
analogous
#3874BB #3E38BB #7F38BB
triadic
#3E38BB #BB3E38 #38BB3E
tetradic
#3E38BB #BB3874 #B5BB38 #38BB7F
square
#3E38BB #BB3874 #B5BB38 #38BB7F
split-complementary
#3E38BB #BB7F38 #74BB38
monochromatic
#1F1C5D #2E2A8C #3E38BB #6661D0 #9390DE

Accessibility & contrast

On white

8.44
#3E38BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3E38BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38BB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38BB#FFFFFF#000000##FFFFFF
##3E38BB1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e38bb;
/* rgb */ color: rgb(62, 56, 187);
/* oklch */ color: oklch(43.9% 0.197 276.5);
Tailwind
colors: {
  custom: {
    50: '#8470d1',
    500: '#3e38bb',
    950: '#000000',
  },
}
SCSS
$custom: #3e38bb;
$custom-light: #8470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38bb",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 242.748,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.1973,
    "h": 276.5
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#3E38BB
secondary
#C5C886
accent
#DD4BD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3E38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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