#3E45AE#3E45AE

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

Color values

HEX#3E45AE
RGBrgb(62, 69, 174)
HSLhsl(236, 47%, 46%)
HSVhsv(236, 64%, 68%)
CMYKcmyk(64.4%, 60.3%, 0%, 31.8%)
CIE-LABlab(34.67, 30.68, -57.09)
CIE-LCHlch(34.67, 64.81, 298.25°)
OKLaboklab(44.91% 0.0135 -0.1643)
OKLCHoklch(44.91% 0.165 274.7)
XYZxyz(11.7522, 8.3354, 41.0258)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45AE #AEA73E
analogous
#3E7DAE #3E45AE #6F3EAE
triadic
#3E45AE #AE3E45 #45AE3E
tetradic
#3E45AE #AE3E7D #AEA73E #3EAE6F
square
#3E45AE #AE3E7D #AEA73E #3EAE6F
split-complementary
#3E45AE #AE6F3E #7DAE3E
monochromatic
#1E2154 #2E3381 #3E45AE #6268C7 #8F94D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E45AE#FFFFFF#000000##FFFFFF
##3E45AE1.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)
#0057B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e45ae;
/* rgb */ color: rgb(62, 69, 174);
/* oklch */ color: oklch(44.9% 0.165 274.7);
Tailwind
colors: {
  custom: {
    50: '#8078c7',
    500: '#3e45ae',
    950: '#000000',
  },
}
SCSS
$custom: #3e45ae;
$custom-light: #8078c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45ae",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 236.25,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4491,
    "c": 0.16489,
    "h": 274.7
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#3E45AE
secondary
#C2BE86
accent
#CF51D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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