#3E41A2#3E41A2

#3E41A2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.154 H 276.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3E41A2
RGBrgb(62, 65, 162)
HSLhsl(238, 45%, 44%)
HSVhsv(238, 62%, 64%)
CMYKcmyk(61.7%, 59.9%, 0%, 36.5%)
CIE-LABlab(32.73, 29.09, -53.07)
CIE-LCHlch(32.73, 60.51, 298.73°)
OKLaboklab(43.18% 0.0174 -0.1525)
OKLCHoklch(43.18% 0.154 276.5)
XYZxyz(10.3964, 7.4126, 35.0583)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41A2 #A29F3E
analogous
#3E73A2 #3E41A2 #6D3EA2
triadic
#3E41A2 #A23E41 #41A23E
tetradic
#3E41A2 #A23E73 #A29F3E #3EA26D
square
#3E41A2 #A23E73 #A29F3E #3EA26D
split-complementary
#3E41A2 #A26D3E #73A23E
monochromatic
#1C1D49 #2D2F76 #3E41A2 #5C5FC1 #898BD2

Accessibility & contrast

On white

8.46
#3E41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3E41A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41A2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41A2#FFFFFF#000000##FFFFFF
##3E41A21.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e41a2;
/* rgb */ color: rgb(62, 65, 162);
/* oklch */ color: oklch(43.2% 0.154 276.5);
Tailwind
colors: {
  custom: {
    50: '#7e75be',
    500: '#3e41a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e41a2;
$custom-light: #7e75be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41a2",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 238.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.15354,
    "h": 276.5
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#3E41A2
secondary
#BCBA80
accent
#D053D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3E41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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