#3E41B8#3E41B8

#3E41B8 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.183 H 275.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3E41B8
RGBrgb(62, 65, 184)
HSLhsl(239, 50%, 48%)
HSVhsv(239, 66%, 72%)
CMYKcmyk(66.3%, 64.7%, 0%, 27.8%)
CIE-LABlab(34.53, 36.65, -63.25)
CIE-LCHlch(34.53, 73.10, 300.09°)
OKLaboklab(45.06% 0.0163 -0.1825)
OKLCHoklch(45.06% 0.183 275.1)
XYZxyz(12.5258, 8.2643, 46.2732)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41B8 #B8B53E
analogous
#3E7EB8 #3E41B8 #783EB8
triadic
#3E41B8 #B83E41 #41B83E
tetradic
#3E41B8 #B83E7E #B8B53E #3EB878
square
#3E41B8 #B83E7E #B8B53E #3EB878
split-complementary
#3E41B8 #B8783E #7EB83E
monochromatic
#1F215C #2F318A #3E41B8 #676ACC #9597DB

Accessibility & contrast

On white

7.92
#3E41B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3E41B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41B8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41B8#FFFFFF#000000##FFFFFF
##3E41B81.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e41b8;
/* rgb */ color: rgb(62, 65, 184);
/* oklch */ color: oklch(45.1% 0.183 275.1);
Tailwind
colors: {
  custom: {
    50: '#8276ce',
    500: '#3e41b8',
    950: '#000000',
  },
}
SCSS
$custom: #3e41b8;
$custom-light: #8276ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41b8",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 238.525,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.18319,
    "h": 275.1
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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