#3E38B7#3E38B7

#3E38B7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.192 H 276.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3E38B7
RGBrgb(62, 56, 183)
HSLhsl(243, 53%, 47%)
HSVhsv(243, 69%, 72%)
CMYKcmyk(66.1%, 69.4%, 0%, 28.2%)
CIE-LABlab(32.41, 41.77, -66.12)
CIE-LCHlch(32.41, 78.21, 302.28°)
OKLaboklab(43.5% 0.0231 -0.1909)
OKLCHoklch(43.5% 0.192 276.9)
XYZxyz(11.9452, 7.2704, 45.5644)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38B7 #B1B738
analogous
#3871B7 #3E38B7 #7E38B7
triadic
#3E38B7 #B73E38 #38B73E
tetradic
#3E38B7 #B73871 #B1B738 #38B77E
square
#3E38B7 #B73871 #B1B738 #38B77E
split-complementary
#3E38B7 #B77E38 #71B738
monochromatic
#1E1B59 #2E2A88 #3E38B7 #645ECE #918DDC

Accessibility & contrast

On white

8.56
#3E38B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3E38B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38B7
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38B7#FFFFFF#000000##FFFFFF
##3E38B71.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e38b7;
/* rgb */ color: rgb(62, 56, 183);
/* oklch */ color: oklch(43.5% 0.192 276.9);
Tailwind
colors: {
  custom: {
    50: '#8370ce',
    500: '#3e38b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e38b7;
$custom-light: #8370ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38b7",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 242.835,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.19228,
    "h": 276.9
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#3E38B7
secondary
#C4C784
accent
#DD4BD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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