#3E46AC#3E46AC

#3E46AC is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.161 H 274.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3E46AC
RGBrgb(62, 70, 172)
HSLhsl(236, 47%, 46%)
HSVhsv(236, 64%, 67%)
CMYKcmyk(64%, 59.3%, 0%, 32.5%)
CIE-LABlab(34.77, 29.34, -55.74)
CIE-LCHlch(34.77, 63.00, 297.76°)
OKLaboklab(44.93% 0.0126 -0.1604)
OKLCHoklch(44.93% 0.161 274.5)
XYZxyz(11.6207, 8.3820, 40.0272)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E46AC #ACA43E
analogous
#3E7DAC #3E46AC #6D3EAC
triadic
#3E46AC #AC3E46 #46AC3E
tetradic
#3E46AC #AC3E7D #ACA43E #3EAC6D
square
#3E46AC #AC3E7D #ACA43E #3EAC6D
split-complementary
#3E46AC #AC6D3E #7DAC3E
monochromatic
#1E2152 #2E347F #3E46AC #6168C6 #8E93D6

Accessibility & contrast

On white

7.85
#3E46AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3E46AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E46AC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E46AC#FFFFFF#000000##FFFFFF
##3E46AC1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e46ac;
/* rgb */ color: rgb(62, 70, 172);
/* oklch */ color: oklch(44.9% 0.161 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f79c5',
    500: '#3e46ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e46ac;
$custom-light: #7f79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e46ac",
  "rgb": {
    "r": 62,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 235.636,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4493,
    "c": 0.16088,
    "h": 274.5
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#3E46AC
secondary
#C1BD85
accent
#CD51D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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