#3E45A4#3E45A4

#3E45A4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.151 H 275.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3E45A4
RGBrgb(62, 69, 164)
HSLhsl(236, 45%, 44%)
HSVhsv(236, 62%, 64%)
CMYKcmyk(62.2%, 57.9%, 0%, 35.7%)
CIE-LABlab(33.90, 27.19, -52.37)
CIE-LCHlch(33.90, 59.01, 297.44°)
OKLaboklab(44.09% 0.0136 -0.1505)
OKLCHoklch(44.09% 0.151 275.1)
XYZxyz(10.8134, 7.9599, 36.0813)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45A4 #A49D3E
analogous
#3E78A4 #3E45A4 #6A3EA4
triadic
#3E45A4 #A43E45 #45A43E
tetradic
#3E45A4 #A43E78 #A49D3E #3EA46A
square
#3E45A4 #A43E78 #A49D3E #3EA46A
split-complementary
#3E45A4 #A46A3E #78A43E
monochromatic
#1C204B #2D3278 #3E45A4 #5D64C2 #8A8FD3

Accessibility & contrast

On white

8.10
#3E45A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3E45A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E45A4
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45A4#FFFFFF#000000##FFFFFF
##3E45A41.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e45a4;
/* rgb */ color: rgb(62, 69, 164);
/* oklch */ color: oklch(44.1% 0.151 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e78c0',
    500: '#3e45a4',
    950: '#000000',
  },
}
SCSS
$custom: #3e45a4;
$custom-light: #7e78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45a4",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 235.882,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44094,
    "c": 0.15107,
    "h": 275.1
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#3E45A4
secondary
#BDB981
accent
#CC53D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3E45A4

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

Preview Lab → · Contrast checker → · Palette generator →

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