#3E45AF#3E45AF

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

Color values

HEX#3E45AF
RGBrgb(62, 69, 175)
HSLhsl(236, 48%, 46%)
HSVhsv(236, 65%, 69%)
CMYKcmyk(64.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(34.75, 31.03, -57.55)
CIE-LCHlch(34.75, 65.39, 298.33°)
OKLaboklab(44.99% 0.0135 -0.1657)
OKLCHoklch(44.99% 0.166 274.7)
XYZxyz(11.8500, 8.3745, 41.5411)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45AF #AFA83E
analogous
#3E7EAF #3E45AF #703EAF
triadic
#3E45AF #AF3E45 #45AF3E
tetradic
#3E45AF #AF3E7E #AFA83E #3EAF70
square
#3E45AF #AF3E7E #AFA83E #3EAF70
split-complementary
#3E45AF #AF703E #7EAF3E
monochromatic
#1E2155 #2E3382 #3E45AF #6369C8 #9094D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E45AF#FFFFFF#000000##FFFFFF
##3E45AF1.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)
#0057B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e45af;
/* rgb */ color: rgb(62, 69, 175);
/* oklch */ color: oklch(45.0% 0.166 274.7);
Tailwind
colors: {
  custom: {
    50: '#8078c8',
    500: '#3e45af',
    950: '#000000',
  },
}
SCSS
$custom: #3e45af;
$custom-light: #8078c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45af",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 236.283,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.16626,
    "h": 274.7
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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