#3E4AC6#3E4AC6

#3E4AC6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.191 H 272.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3E4AC6
RGBrgb(62, 74, 198)
HSLhsl(235, 54%, 51%)
HSVhsv(235, 69%, 78%)
CMYKcmyk(68.7%, 62.6%, 0%, 22.4%)
CIE-LABlab(37.84, 35.87, -66.04)
CIE-LCHlch(37.84, 75.16, 298.51°)
OKLaboklab(47.85% 0.0086 -0.1906)
OKLCHoklch(47.85% 0.191 272.6)
XYZxyz(14.6250, 9.9975, 54.5741)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AC6 #C6BA3E
analogous
#3E8EC6 #3E4AC6 #763EC6
triadic
#3E4AC6 #C63E4A #4AC63E
tetradic
#3E4AC6 #C63E8E #C6BA3E #3EC676
square
#3E4AC6 #C63E8E #C6BA3E #3EC676
split-complementary
#3E4AC6 #C6763E #8EC63E
monochromatic
#1F266A #2D3799 #3E4AC6 #6D76D4 #9CA3E2

Accessibility & contrast

On white

7.00
#3E4AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3E4AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4AC6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AC6#FFFFFF#000000##FFFFFF
##3E4AC61.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e4ac6;
/* rgb */ color: rgb(62, 74, 198);
/* oklch */ color: oklch(47.8% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#847cd8',
    500: '#3e4ac6',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ac6;
$custom-light: #847cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ac6",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 234.706,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47849,
    "c": 0.1908,
    "h": 272.6
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#3E4AC6
secondary
#CEC992
accent
#D14ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3E4AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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