#3E46C6#3E46C6

#3E46C6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.195 H 273.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3E46C6
RGBrgb(62, 70, 198)
HSLhsl(236, 54%, 51%)
HSVhsv(236, 69%, 78%)
CMYKcmyk(68.7%, 64.6%, 0%, 22.4%)
CIE-LABlab(36.89, 38.35, -67.59)
CIE-LCHlch(36.89, 77.71, 299.57°)
OKLaboklab(47.16% 0.0115 -0.1951)
OKLCHoklch(47.16% 0.195 273.4)
XYZxyz(14.3664, 9.4803, 54.4879)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E46C6 #C6BE3E
analogous
#3E8AC6 #3E46C6 #7A3EC6
triadic
#3E46C6 #C63E46 #46C63E
tetradic
#3E46C6 #C63E8A #C6BE3E #3EC67A
square
#3E46C6 #C63E8A #C6BE3E #3EC67A
split-complementary
#3E46C6 #C67A3E #8AC63E
monochromatic
#1F246A #2D3499 #3E46C6 #6D73D4 #9CA1E2

Accessibility & contrast

On white

7.25
#3E46C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3E46C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E46C6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E46C6#FFFFFF#000000##FFFFFF
##3E46C61.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e46c6;
/* rgb */ color: rgb(62, 70, 198);
/* oklch */ color: oklch(47.2% 0.195 273.4);
Tailwind
colors: {
  custom: {
    50: '#857ad8',
    500: '#3e46c6',
    950: '#000000',
  },
}
SCSS
$custom: #3e46c6;
$custom-light: #857ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e46c6",
  "rgb": {
    "r": 62,
    "g": 70,
    "b": 198
  },
  "hsl": {
    "h": 236.471,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.19549,
    "h": 273.4
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#3E46C6
secondary
#CECA92
accent
#D54ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3E46C6

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

Preview Lab → · Contrast checker → · Palette generator →

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