#3E48B2#3E48B2

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

Color values

HEX#3E48B2
RGBrgb(62, 72, 178)
HSLhsl(235, 48%, 47%)
HSVhsv(235, 65%, 70%)
CMYKcmyk(65.2%, 59.6%, 0%, 30.2%)
CIE-LABlab(35.74, 30.16, -57.73)
CIE-LCHlch(35.74, 65.13, 297.58°)
OKLaboklab(45.8% 0.0108 -0.1662)
OKLCHoklch(45.8% 0.167 273.7)
XYZxyz(12.3372, 8.8721, 43.1732)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E48B2 #B2A83E
analogous
#3E82B2 #3E48B2 #6E3EB2
triadic
#3E48B2 #B23E48 #48B23E
tetradic
#3E48B2 #B23E82 #B2A83E #3EB26E
square
#3E48B2 #B23E82 #B2A83E #3EB26E
split-complementary
#3E48B2 #B26E3E #82B23E
monochromatic
#1E2357 #2E3685 #3E48B2 #646DC9 #9298D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E48B2#FFFFFF#000000##FFFFFF
##3E48B21.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)
#0059B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e48b2;
/* rgb */ color: rgb(62, 72, 178);
/* oklch */ color: oklch(45.8% 0.167 273.7);
Tailwind
colors: {
  custom: {
    50: '#807bca',
    500: '#3e48b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e48b2;
$custom-light: #807bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e48b2",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 234.828,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.16655,
    "h": 273.7
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#3E48B2
secondary
#C4BF88
accent
#CC50D8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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