#3E48BB#3E48BB

#3E48BB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.179 H 273.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3E48BB
RGBrgb(62, 72, 187)
HSLhsl(235, 50%, 49%)
HSVhsv(235, 67%, 73%)
CMYKcmyk(66.8%, 61.5%, 0%, 26.7%)
CIE-LABlab(36.45, 33.30, -61.87)
CIE-LCHlch(36.45, 70.27, 298.29°)
OKLaboklab(46.55% 0.0106 -0.1784)
OKLCHoklch(46.55% 0.179 273.4)
XYZxyz(13.2706, 9.2455, 48.0893)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E48BB #BBB13E
analogous
#3E87BB #3E48BB #733EBB
triadic
#3E48BB #BB3E48 #48BB3E
tetradic
#3E48BB #BB3E87 #BBB13E #3EBB73
square
#3E48BB #BB3E87 #BBB13E #3EBB73
split-complementary
#3E48BB #BB733E #87BB3E
monochromatic
#20255F #2F368D #3E48BB #6971CD #979CDC

Accessibility & contrast

On white

7.37
#3E48BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3E48BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E48BB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E48BB#FFFFFF#000000##FFFFFF
##3E48BB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e48bb;
/* rgb */ color: rgb(62, 72, 187);
/* oklch */ color: oklch(46.5% 0.179 273.4);
Tailwind
colors: {
  custom: {
    50: '#827bd0',
    500: '#3e48bb',
    950: '#000000',
  },
}
SCSS
$custom: #3e48bb;
$custom-light: #827bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e48bb",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 235.2,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46549,
    "c": 0.17869,
    "h": 273.4
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#3E48BB
secondary
#C8C38D
accent
#CF4EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3E48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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