#3E45B7#3E45B7

#3E45B7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.177 H 274.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3E45B7
RGBrgb(62, 69, 183)
HSLhsl(237, 49%, 48%)
HSVhsv(237, 66%, 72%)
CMYKcmyk(66.1%, 62.3%, 0%, 28.2%)
CIE-LABlab(35.40, 33.81, -61.24)
CIE-LCHlch(35.40, 69.95, 298.90°)
OKLaboklab(45.67% 0.0132 -0.1765)
OKLCHoklch(45.67% 0.177 274.3)
XYZxyz(12.6591, 8.6982, 45.8024)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45B7 #B7B03E
analogous
#3E81B7 #3E45B7 #733EB7
triadic
#3E45B7 #B73E45 #45B73E
tetradic
#3E45B7 #B73E81 #B7B03E #3EB773
square
#3E45B7 #B73E81 #B7B03E #3EB773
split-complementary
#3E45B7 #B7733E #81B73E
monochromatic
#1F235C #2F3489 #3E45B7 #676DCB #9499DB

Accessibility & contrast

On white

7.66
#3E45B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3E45B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E45B7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45B7#FFFFFF#000000##FFFFFF
##3E45B71.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e45b7;
/* rgb */ color: rgb(62, 69, 183);
/* oklch */ color: oklch(45.7% 0.177 274.3);
Tailwind
colors: {
  custom: {
    50: '#8279ce',
    500: '#3e45b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e45b7;
$custom-light: #8279ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45b7",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 236.529,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4567,
    "c": 0.17703,
    "h": 274.3
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#3E45B7
secondary
#C6C38A
accent
#D14FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3E45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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