#3E45B9#3E45B9

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

Color values

HEX#3E45B9
RGBrgb(62, 69, 185)
HSLhsl(237, 50%, 48%)
HSVhsv(237, 66%, 73%)
CMYKcmyk(66.5%, 62.7%, 0%, 27.5%)
CIE-LABlab(35.56, 34.50, -62.15)
CIE-LCHlch(35.56, 71.08, 299.03°)
OKLaboklab(45.84% 0.0131 -0.1792)
OKLCHoklch(45.84% 0.18 274.2)
XYZxyz(12.8688, 8.7820, 46.9065)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45B9 #B9B23E
analogous
#3E82B9 #3E45B9 #743EB9
triadic
#3E45B9 #B93E45 #45B93E
tetradic
#3E45B9 #B93E82 #B9B23E #3EB974
square
#3E45B9 #B93E82 #B9B23E #3EB974
split-complementary
#3E45B9 #B9743E #82B93E
monochromatic
#1F235D #2F348B #3E45B9 #686ECC #969ADC

Accessibility & contrast

On white

7.62
#3E45B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3E45B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E45B9
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45B9#FFFFFF#000000##FFFFFF
##3E45B91.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e45b9;
/* rgb */ color: rgb(62, 69, 185);
/* oklch */ color: oklch(45.8% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#8279cf',
    500: '#3e45b9',
    950: '#000000',
  },
}
SCSS
$custom: #3e45b9;
$custom-light: #8279cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45b9",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 236.585,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.17969,
    "h": 274.2
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#3E45B9
secondary
#C7C48C
accent
#D14ED9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3E45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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