#3E41B0#3E41B0

#3E41B0 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.173 H 275.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3E41B0
RGBrgb(62, 65, 176)
HSLhsl(238, 48%, 47%)
HSVhsv(238, 65%, 69%)
CMYKcmyk(64.8%, 63.1%, 0%, 31%)
CIE-LABlab(33.85, 33.91, -59.61)
CIE-LCHlch(33.85, 68.58, 299.64°)
OKLaboklab(44.36% 0.0169 -0.1718)
OKLCHoklch(44.36% 0.173 275.6)
XYZxyz(11.7108, 7.9383, 41.9810)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41B0 #B0AD3E
analogous
#3E7AB0 #3E41B0 #743EB0
triadic
#3E41B0 #B03E41 #41B03E
tetradic
#3E41B0 #B03E7A #B0AD3E #3EB074
square
#3E41B0 #B03E7A #B0AD3E #3EB074
split-complementary
#3E41B0 #B0743E #7AB03E
monochromatic
#1E2055 #2E3083 #3E41B0 #6366C8 #9092D8

Accessibility & contrast

On white

8.12
#3E41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3E41B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41B0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41B0#FFFFFF#000000##FFFFFF
##3E41B01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e41b0;
/* rgb */ color: rgb(62, 65, 176);
/* oklch */ color: oklch(44.4% 0.173 275.6);
Tailwind
colors: {
  custom: {
    50: '#8176c8',
    500: '#3e41b0',
    950: '#000000',
  },
}
SCSS
$custom: #3e41b0;
$custom-light: #8176c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41b0",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 238.421,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44358,
    "c": 0.17261,
    "h": 275.6
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#3E41B0
secondary
#C3C287
accent
#D450D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3E41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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