#3E41AF#3E41AF

#3E41AF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.171 H 275.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3E41AF
RGBrgb(62, 65, 175)
HSLhsl(238, 48%, 46%)
HSVhsv(238, 65%, 69%)
CMYKcmyk(64.6%, 62.9%, 0%, 31.4%)
CIE-LABlab(33.77, 33.57, -59.15)
CIE-LCHlch(33.77, 68.01, 299.58°)
OKLaboklab(44.27% 0.0169 -0.1704)
OKLCHoklch(44.27% 0.171 275.7)
XYZxyz(11.6122, 7.8989, 41.4618)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41AF #AFAC3E
analogous
#3E7AAF #3E41AF #743EAF
triadic
#3E41AF #AF3E41 #41AF3E
tetradic
#3E41AF #AF3E7A #AFAC3E #3EAF74
square
#3E41AF #AF3E7A #AFAC3E #3EAF74
split-complementary
#3E41AF #AF743E #7AAF3E
monochromatic
#1E1F55 #2E3082 #3E41AF #6365C8 #9092D8

Accessibility & contrast

On white

8.14
#3E41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3E41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41AF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41AF#FFFFFF#000000##FFFFFF
##3E41AF1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e41af;
/* rgb */ color: rgb(62, 65, 175);
/* oklch */ color: oklch(44.3% 0.171 275.7);
Tailwind
colors: {
  custom: {
    50: '#8076c8',
    500: '#3e41af',
    950: '#000000',
  },
}
SCSS
$custom: #3e41af;
$custom-light: #8076c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41af",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 238.407,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44272,
    "c": 0.17127,
    "h": 275.7
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#3E41AF
secondary
#C3C186
accent
#D451D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3E41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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