#3E45B8#3E45B8

#3E45B8 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.178 H 274.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3E45B8
RGBrgb(62, 69, 184)
HSLhsl(237, 50%, 48%)
HSVhsv(237, 66%, 72%)
CMYKcmyk(66.3%, 62.5%, 0%, 27.8%)
CIE-LABlab(35.48, 34.15, -61.70)
CIE-LCHlch(35.48, 70.52, 298.97°)
OKLaboklab(45.76% 0.0132 -0.1779)
OKLCHoklch(45.76% 0.178 274.2)
XYZxyz(12.7636, 8.7399, 46.3525)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45B8 #B8B13E
analogous
#3E82B8 #3E45B8 #743EB8
triadic
#3E45B8 #B83E45 #45B83E
tetradic
#3E45B8 #B83E82 #B8B13E #3EB874
square
#3E45B8 #B83E82 #B8B13E #3EB874
split-complementary
#3E45B8 #B8743E #82B83E
monochromatic
#1F235C #2F348A #3E45B8 #676DCC #9599DB

Accessibility & contrast

On white

7.64
#3E45B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3E45B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E45B8
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45B8#FFFFFF#000000##FFFFFF
##3E45B81.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e45b8;
/* rgb */ color: rgb(62, 69, 184);
/* oklch */ color: oklch(45.8% 0.178 274.2);
Tailwind
colors: {
  custom: {
    50: '#8279ce',
    500: '#3e45b8',
    950: '#000000',
  },
}
SCSS
$custom: #3e45b8;
$custom-light: #8279ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45b8",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 236.557,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.17837,
    "h": 274.2
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E45B8

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

Preview Lab → · Contrast checker → · Palette generator →

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