#3E41B1#3E41B1

#3E41B1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.174 H 275.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3E41B1
RGBrgb(62, 65, 177)
HSLhsl(238, 48%, 47%)
HSVhsv(238, 65%, 69%)
CMYKcmyk(65%, 63.3%, 0%, 30.6%)
CIE-LABlab(33.94, 34.26, -60.07)
CIE-LCHlch(33.94, 69.15, 299.69°)
OKLaboklab(44.45% 0.0168 -0.1731)
OKLCHoklch(44.45% 0.174 275.5)
XYZxyz(11.8101, 7.9781, 42.5040)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41B1 #B1AE3E
analogous
#3E7BB1 #3E41B1 #753EB1
triadic
#3E41B1 #B13E41 #41B13E
tetradic
#3E41B1 #B13E7B #B1AE3E #3EB175
square
#3E41B1 #B13E7B #B1AE3E #3EB175
split-complementary
#3E41B1 #B1753E #7BB13E
monochromatic
#1E2056 #2E3084 #3E41B1 #6466C9 #9193D8

Accessibility & contrast

On white

8.09
#3E41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3E41B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41B1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41B1#FFFFFF#000000##FFFFFF
##3E41B11.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e41b1;
/* rgb */ color: rgb(62, 65, 177);
/* oklch */ color: oklch(44.4% 0.174 275.5);
Tailwind
colors: {
  custom: {
    50: '#8176c9',
    500: '#3e41b1',
    950: '#000000',
  },
}
SCSS
$custom: #3e41b1;
$custom-light: #8176c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41b1",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 238.435,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44445,
    "c": 0.17394,
    "h": 275.5
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#3E41B1
secondary
#C4C287
accent
#D450D8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3E41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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