#3E45BB#3E45BB

#3E45BB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.182 H 274.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3E45BB
RGBrgb(62, 69, 187)
HSLhsl(237, 50%, 49%)
HSVhsv(237, 67%, 73%)
CMYKcmyk(66.8%, 63.1%, 0%, 26.7%)
CIE-LABlab(35.73, 35.19, -63.06)
CIE-LCHlch(35.73, 72.21, 299.16°)
OKLaboklab(46.02% 0.013 -0.1819)
OKLCHoklch(46.02% 0.182 274.1)
XYZxyz(13.0814, 8.8671, 48.0262)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45BB #BBB43E
analogous
#3E84BB #3E45BB #763EBB
triadic
#3E45BB #BB3E45 #45BB3E
tetradic
#3E45BB #BB3E84 #BBB43E #3EBB76
square
#3E45BB #BB3E84 #BBB43E #3EBB76
split-complementary
#3E45BB #BB763E #84BB3E
monochromatic
#20235F #2F348D #3E45BB #696FCD #979BDC

Accessibility & contrast

On white

7.57
#3E45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3E45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E45BB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45BB#FFFFFF#000000##FFFFFF
##3E45BB1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e45bb;
/* rgb */ color: rgb(62, 69, 187);
/* oklch */ color: oklch(46.0% 0.182 274.1);
Tailwind
colors: {
  custom: {
    50: '#8279d0',
    500: '#3e45bb',
    950: '#000000',
  },
}
SCSS
$custom: #3e45bb;
$custom-light: #8279d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45bb",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 236.64,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46016,
    "c": 0.18233,
    "h": 274.1
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#3E45BB
secondary
#C8C58D
accent
#D24EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3E45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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