#3E48B7#3E48B7

#3E48B7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.173 H 273.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3E48B7
RGBrgb(62, 72, 183)
HSLhsl(235, 49%, 48%)
HSVhsv(235, 66%, 72%)
CMYKcmyk(66.1%, 60.7%, 0%, 28.2%)
CIE-LABlab(36.13, 31.91, -60.04)
CIE-LCHlch(36.13, 67.99, 297.99°)
OKLaboklab(46.21% 0.0107 -0.173)
OKLCHoklch(46.21% 0.173 273.5)
XYZxyz(12.8484, 9.0766, 45.8654)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E48B7 #B7AD3E
analogous
#3E85B7 #3E48B7 #703EB7
triadic
#3E48B7 #B73E48 #48B73E
tetradic
#3E48B7 #B73E85 #B7AD3E #3EB770
square
#3E48B7 #B73E85 #B7AD3E #3EB770
split-complementary
#3E48B7 #B7703E #85B73E
monochromatic
#1F245C #2F3689 #3E48B7 #676FCB #949ADB

Accessibility & contrast

On white

7.46
#3E48B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3E48B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E48B7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E48B7#FFFFFF#000000##FFFFFF
##3E48B71.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e48b7;
/* rgb */ color: rgb(62, 72, 183);
/* oklch */ color: oklch(46.2% 0.173 273.5);
Tailwind
colors: {
  custom: {
    50: '#817bcd',
    500: '#3e48b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e48b7;
$custom-light: #817bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e48b7",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 235.041,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.17332,
    "h": 273.5
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#3E48B7
secondary
#C6C18A
accent
#CE4FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3E48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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