#3E46B8#3E46B8

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

Color values

HEX#3E46B8
RGBrgb(62, 70, 184)
HSLhsl(236, 50%, 48%)
HSVhsv(236, 66%, 72%)
CMYKcmyk(66.3%, 62%, 0%, 27.8%)
CIE-LABlab(35.72, 33.52, -61.30)
CIE-LCHlch(35.72, 69.87, 298.67°)
OKLaboklab(45.93% 0.0124 -0.1767)
OKLCHoklch(45.93% 0.177 274)
XYZxyz(12.8256, 8.8640, 46.3731)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E46B8 #B8B03E
analogous
#3E83B8 #3E46B8 #733EB8
triadic
#3E46B8 #B83E46 #46B83E
tetradic
#3E46B8 #B83E83 #B8B03E #3EB873
square
#3E46B8 #B83E83 #B8B03E #3EB873
split-complementary
#3E46B8 #B8733E #83B83E
monochromatic
#1F235C #2F358A #3E46B8 #676ECC #959ADB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E46B8#FFFFFF#000000##FFFFFF
##3E46B81.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)
#005ABC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e46b8;
/* rgb */ color: rgb(62, 70, 184);
/* oklch */ color: oklch(45.9% 0.177 274.0);
Tailwind
colors: {
  custom: {
    50: '#8279ce',
    500: '#3e46b8',
    950: '#000000',
  },
}
SCSS
$custom: #3e46b8;
$custom-light: #8279ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e46b8",
  "rgb": {
    "r": 62,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 236.066,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45934,
    "c": 0.17714,
    "h": 274
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#3E46B8
secondary
#C7C38B
accent
#D04FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3E46B8

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

Preview Lab → · Contrast checker → · Palette generator →

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