#3E45A5#3E45A5

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

Color values

HEX#3E45A5
RGBrgb(62, 69, 165)
HSLhsl(236, 45%, 45%)
HSVhsv(236, 62%, 65%)
CMYKcmyk(62.4%, 58.2%, 0%, 35.3%)
CIE-LABlab(33.97, 27.54, -52.84)
CIE-LCHlch(33.97, 59.59, 297.53°)
OKLaboklab(44.17% 0.0136 -0.1519)
OKLCHoklch(44.17% 0.152 275.1)
XYZxyz(10.9040, 7.9961, 36.5588)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45A5 #A59E3E
analogous
#3E79A5 #3E45A5 #6A3EA5
triadic
#3E45A5 #A53E45 #45A53E
tetradic
#3E45A5 #A53E79 #A59E3E #3EA56A
square
#3E45A5 #A53E79 #A59E3E #3EA56A
split-complementary
#3E45A5 #A56A3E #79A53E
monochromatic
#1D204C #2D3279 #3E45A5 #5E65C2 #8A8FD3

Accessibility & contrast

On white

8.08
#3E45A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3E45A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E45A5
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45A5#FFFFFF#000000##FFFFFF
##3E45A51.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e45a5;
/* rgb */ color: rgb(62, 69, 165);
/* oklch */ color: oklch(44.2% 0.152 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e78c0',
    500: '#3e45a5',
    950: '#000000',
  },
}
SCSS
$custom: #3e45a5;
$custom-light: #7e78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45a5",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 235.922,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.15247,
    "h": 275.1
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E45A5

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

Preview Lab → · Contrast checker → · Palette generator →

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