#3E41B7#3E41B7

#3E41B7 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.182 H 275.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3E41B7
RGBrgb(62, 65, 183)
HSLhsl(239, 49%, 48%)
HSVhsv(239, 66%, 72%)
CMYKcmyk(66.1%, 64.5%, 0%, 28.2%)
CIE-LABlab(34.44, 36.31, -62.80)
CIE-LCHlch(34.44, 72.54, 300.04°)
OKLaboklab(44.97% 0.0164 -0.1811)
OKLCHoklch(44.97% 0.182 275.2)
XYZxyz(12.4213, 8.2225, 45.7231)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41B7 #B7B43E
analogous
#3E7EB7 #3E41B7 #773EB7
triadic
#3E41B7 #B73E41 #41B73E
tetradic
#3E41B7 #B73E7E #B7B43E #3EB777
square
#3E41B7 #B73E7E #B7B43E #3EB777
split-complementary
#3E41B7 #B7773E #7EB73E
monochromatic
#1F215C #2F3189 #3E41B7 #6769CB #9496DB

Accessibility & contrast

On white

7.94
#3E41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E41B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41B7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41B7#FFFFFF#000000##FFFFFF
##3E41B71.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e41b7;
/* rgb */ color: rgb(62, 65, 183);
/* oklch */ color: oklch(45.0% 0.182 275.2);
Tailwind
colors: {
  custom: {
    50: '#8276ce',
    500: '#3e41b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e41b7;
$custom-light: #8276ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41b7",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 238.512,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44971,
    "c": 0.18188,
    "h": 275.2
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#3E41B7
secondary
#C6C58A
accent
#D64FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3E41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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