#3E38BC#3E38BC

#3E38BC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.199 H 276.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3E38BC
RGBrgb(62, 56, 188)
HSLhsl(243, 54%, 48%)
HSVhsv(243, 70%, 74%)
CMYKcmyk(67%, 70.2%, 0%, 26.3%)
CIE-LABlab(32.88, 43.41, -68.31)
CIE-LCHlch(32.88, 80.94, 302.43°)
OKLaboklab(43.98% 0.0223 -0.1973)
OKLCHoklch(43.98% 0.199 276.4)
XYZxyz(12.4749, 7.4822, 48.3540)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38BC #B6BC38
analogous
#3874BC #3E38BC #8038BC
triadic
#3E38BC #BC3E38 #38BC3E
tetradic
#3E38BC #BC3874 #B6BC38 #38BC80
square
#3E38BC #BC3874 #B6BC38 #38BC80
split-complementary
#3E38BC #BC8038 #74BC38
monochromatic
#1F1C5E #2E2A8D #3E38BC #6661D0 #9490DE

Accessibility & contrast

On white

8.41
#3E38BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3E38BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38BC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38BC#FFFFFF#000000##FFFFFF
##3E38BC1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e38bc;
/* rgb */ color: rgb(62, 56, 188);
/* oklch */ color: oklch(44.0% 0.199 276.4);
Tailwind
colors: {
  custom: {
    50: '#8470d1',
    500: '#3e38bc',
    950: '#000000',
  },
}
SCSS
$custom: #3e38bc;
$custom-light: #8470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38bc",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 242.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.19855,
    "h": 276.4
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#3E38BC
secondary
#C6C987
accent
#DD4AD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3E38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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