#3E38AA#3E38AA

#3E38AA is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.176 H 278.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3E38AA
RGBrgb(62, 56, 170)
HSLhsl(243, 50%, 44%)
HSVhsv(243, 67%, 67%)
CMYKcmyk(63.5%, 67.1%, 0%, 33.3%)
CIE-LABlab(31.24, 37.46, -60.30)
CIE-LCHlch(31.24, 70.99, 301.85°)
OKLaboklab(42.29% 0.0248 -0.1738)
OKLCHoklch(42.29% 0.176 278.1)
XYZxyz(10.6541, 6.7539, 38.7646)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38AA #A4AA38
analogous
#386BAA #3E38AA #7738AA
triadic
#3E38AA #AA3E38 #38AA3E
tetradic
#3E38AA #AA386B #A4AA38 #38AA77
square
#3E38AA #AA386B #A4AA38 #38AA77
split-complementary
#3E38AA #AA7738 #6BAA38
monochromatic
#1C1A4E #2D297C #3E38AA #5D57C8 #8A85D7

Accessibility & contrast

On white

8.93
#3E38AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3E38AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38AA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38AA#FFFFFF#000000##FFFFFF
##3E38AA1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3e38aa;
/* rgb */ color: rgb(62, 56, 170);
/* oklch */ color: oklch(42.3% 0.176 278.1);
Tailwind
colors: {
  custom: {
    50: '#806fc4',
    500: '#3e38aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e38aa;
$custom-light: #806fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38aa",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 243.158,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.1756,
    "h": 278.1
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#3E38AA
secondary
#BDC17D
accent
#DA4ED3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3E38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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