#3E4AC4#3E4AC4

#3E4AC4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.188 H 272.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3E4AC4
RGBrgb(62, 74, 196)
HSLhsl(235, 53%, 51%)
HSVhsv(235, 68%, 77%)
CMYKcmyk(68.4%, 62.2%, 0%, 23.1%)
CIE-LABlab(37.67, 35.17, -65.15)
CIE-LCHlch(37.67, 74.04, 298.36°)
OKLaboklab(47.68% 0.0087 -0.188)
OKLCHoklch(47.68% 0.188 272.7)
XYZxyz(14.3958, 9.9059, 53.3672)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AC4 #C4B83E
analogous
#3E8DC4 #3E4AC4 #753EC4
triadic
#3E4AC4 #C43E4A #4AC43E
tetradic
#3E4AC4 #C43E8D #C4B83E #3EC475
square
#3E4AC4 #C43E8D #C4B83E #3EC475
split-complementary
#3E4AC4 #C4753E #8DC43E
monochromatic
#202668 #2E3797 #3E4AC4 #6D76D2 #9CA2E1

Accessibility & contrast

On white

7.04
#3E4AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3E4AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4AC4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AC4#FFFFFF#000000##FFFFFF
##3E4AC41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e4ac4;
/* rgb */ color: rgb(62, 74, 196);
/* oklch */ color: oklch(47.7% 0.188 272.7);
Tailwind
colors: {
  custom: {
    50: '#847cd7',
    500: '#3e4ac4',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ac4;
$custom-light: #847cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ac4",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 234.627,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.18817,
    "h": 272.7
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#3E4AC4
secondary
#CDC791
accent
#D04BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3E4AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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