#3E46B2#3E46B2

#3E46B2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.169 H 274.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3E46B2
RGBrgb(62, 70, 178)
HSLhsl(236, 48%, 47%)
HSVhsv(236, 65%, 70%)
CMYKcmyk(65.2%, 60.7%, 0%, 30.2%)
CIE-LABlab(35.24, 31.44, -58.54)
CIE-LCHlch(35.24, 66.45, 298.23°)
OKLaboklab(45.43% 0.0125 -0.1686)
OKLCHoklch(45.43% 0.169 274.3)
XYZxyz(12.2100, 8.6177, 43.1308)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E46B2 #B2AA3E
analogous
#3E80B2 #3E46B2 #703EB2
triadic
#3E46B2 #B23E46 #46B23E
tetradic
#3E46B2 #B23E80 #B2AA3E #3EB270
square
#3E46B2 #B23E80 #B2AA3E #3EB270
split-complementary
#3E46B2 #B2703E #80B23E
monochromatic
#1E2257 #2E3485 #3E46B2 #646BC9 #9296D9

Accessibility & contrast

On white

7.71
#3E46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3E46B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E46B2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E46B2#FFFFFF#000000##FFFFFF
##3E46B21.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e46b2;
/* rgb */ color: rgb(62, 70, 178);
/* oklch */ color: oklch(45.4% 0.169 274.3);
Tailwind
colors: {
  custom: {
    50: '#8179ca',
    500: '#3e46b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e46b2;
$custom-light: #8179ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e46b2",
  "rgb": {
    "r": 62,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 235.862,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.16908,
    "h": 274.3
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#3E46B2
secondary
#C4C088
accent
#CF50D8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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