#3E46A5#3E46A5

#3E46A5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.151 H 274.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3E46A5
RGBrgb(62, 70, 165)
HSLhsl(235, 45%, 45%)
HSVhsv(235, 62%, 65%)
CMYKcmyk(62.4%, 57.6%, 0%, 35.3%)
CIE-LABlab(34.23, 26.89, -52.43)
CIE-LCHlch(34.23, 58.92, 297.16°)
OKLaboklab(44.37% 0.0126 -0.1506)
OKLCHoklch(44.37% 0.151 274.8)
XYZxyz(10.9661, 8.1202, 36.5795)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E46A5 #A59D3E
analogous
#3E7AA5 #3E46A5 #6A3EA5
triadic
#3E46A5 #A53E46 #46A53E
tetradic
#3E46A5 #A53E7A #A59D3E #3EA56A
square
#3E46A5 #A53E7A #A59D3E #3EA56A
split-complementary
#3E46A5 #A56A3E #7AA53E
monochromatic
#1D204C #2D3379 #3E46A5 #5E66C2 #8A90D3

Accessibility & contrast

On white

8.00
#3E46A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3E46A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E46A5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E46A5#FFFFFF#000000##FFFFFF
##3E46A51.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e46a5;
/* rgb */ color: rgb(62, 70, 165);
/* oklch */ color: oklch(44.4% 0.151 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e79c0',
    500: '#3e46a5',
    950: '#000000',
  },
}
SCSS
$custom: #3e46a5;
$custom-light: #7e79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e46a5",
  "rgb": {
    "r": 62,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 235.34,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44365,
    "c": 0.15116,
    "h": 274.8
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#3E46A5
secondary
#BEB981
accent
#CB53D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3E46A5

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

Preview Lab → · Contrast checker → · Palette generator →

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