#3E46AB#3E46AB

#3E46AB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.160 H 274.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3E46AB
RGBrgb(62, 70, 171)
HSLhsl(236, 47%, 46%)
HSVhsv(236, 64%, 67%)
CMYKcmyk(63.7%, 59.1%, 0%, 32.9%)
CIE-LABlab(34.69, 28.99, -55.27)
CIE-LCHlch(34.69, 62.42, 297.68°)
OKLaboklab(44.85% 0.0126 -0.159)
OKLCHoklch(44.85% 0.16 274.5)
XYZxyz(11.5250, 8.3438, 39.5233)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E46AB #ABA33E
analogous
#3E7CAB #3E46AB #6C3EAB
triadic
#3E46AB #AB3E46 #46AB3E
tetradic
#3E46AB #AB3E7C #ABA33E #3EAB6C
square
#3E46AB #AB3E7C #ABA33E #3EAB6C
split-complementary
#3E46AB #AB6C3E #7CAB3E
monochromatic
#1D2151 #2E347E #3E46AB #6168C6 #8E93D6

Accessibility & contrast

On white

7.87
#3E46AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3E46AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E46AB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E46AB#FFFFFF#000000##FFFFFF
##3E46AB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e46ab;
/* rgb */ color: rgb(62, 70, 171);
/* oklch */ color: oklch(44.8% 0.160 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f79c5',
    500: '#3e46ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e46ab;
$custom-light: #7f79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e46ab",
  "rgb": {
    "r": 62,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 235.596,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44849,
    "c": 0.1595,
    "h": 274.5
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#3E46AB
secondary
#C1BC84
accent
#CD51D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E46AB

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

Preview Lab → · Contrast checker → · Palette generator →

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