#3E46D5#3E46D5

#3E46D5 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.5% C 0.214 H 272.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3E46D5
RGBrgb(62, 70, 213)
HSLhsl(237, 64%, 54%)
HSVhsv(237, 71%, 84%)
CMYKcmyk(70.9%, 67.1%, 0%, 16.5%)
CIE-LABlab(38.21, 43.46, -74.11)
CIE-LCHlch(38.21, 85.92, 300.38°)
OKLaboklab(48.52% 0.0102 -0.2142)
OKLCHoklch(48.52% 0.214 272.7)
XYZxyz(16.1830, 10.2069, 64.0552)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E46D5 #D5CD3E
analogous
#3E92D5 #3E46D5 #823ED5
triadic
#3E46D5 #D53E46 #46D53E
tetradic
#3E46D5 #D53E92 #D5CD3E #3ED582
square
#3E46D5 #D53E92 #D5CD3E #3ED582
split-complementary
#3E46D5 #D5823E #92D53E
monochromatic
#1B207D #262DB0 #3E46D5 #7076E0 #A3A6EB

Accessibility & contrast

On white

6.90
#3E46D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3E46D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E46D5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E46D5#FFFFFF#000000##FFFFFF
##3E46D51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#0053D2
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e46d5;
/* rgb */ color: rgb(62, 70, 213);
/* oklch */ color: oklch(48.5% 0.214 272.7);
Tailwind
colors: {
  custom: {
    50: '#887ae3',
    500: '#3e46d5',
    950: '#000000',
  },
}
SCSS
$custom: #3e46d5;
$custom-light: #887ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e46d5",
  "rgb": {
    "r": 62,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 236.821,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.21449,
    "h": 272.7
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#3E46D5
secondary
#D8D497
accent
#DE41E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3E46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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