#3E41B2#3E41B2

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

Color values

HEX#3E41B2
RGBrgb(62, 65, 178)
HSLhsl(238, 48%, 47%)
HSVhsv(238, 65%, 70%)
CMYKcmyk(65.2%, 63.5%, 0%, 30.2%)
CIE-LABlab(34.02, 34.60, -60.53)
CIE-LCHlch(34.02, 69.72, 299.75°)
OKLaboklab(44.53% 0.0167 -0.1745)
OKLCHoklch(44.53% 0.175 275.5)
XYZxyz(11.9101, 8.0181, 43.0308)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41B2 #B2AF3E
analogous
#3E7BB2 #3E41B2 #753EB2
triadic
#3E41B2 #B23E41 #41B23E
tetradic
#3E41B2 #B23E7B #B2AF3E #3EB275
square
#3E41B2 #B23E7B #B2AF3E #3EB275
split-complementary
#3E41B2 #B2753E #7BB23E
monochromatic
#1E2057 #2E3085 #3E41B2 #6467C9 #9293D9

Accessibility & contrast

On white

8.07
#3E41B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E41B2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41B2#FFFFFF#000000##FFFFFF
##3E41B21.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e41b2;
/* rgb */ color: rgb(62, 65, 178);
/* oklch */ color: oklch(44.5% 0.175 275.5);
Tailwind
colors: {
  custom: {
    50: '#8176ca',
    500: '#3e41b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e41b2;
$custom-light: #8176ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41b2",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 238.448,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.17527,
    "h": 275.5
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#3E41B2
secondary
#C4C288
accent
#D450D8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3E41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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