#3E4AC5#3E4AC5

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

Color values

HEX#3E4AC5
RGBrgb(62, 74, 197)
HSLhsl(235, 54%, 51%)
HSVhsv(235, 69%, 77%)
CMYKcmyk(68.5%, 62.4%, 0%, 22.7%)
CIE-LABlab(37.76, 35.52, -65.60)
CIE-LCHlch(37.76, 74.60, 298.44°)
OKLaboklab(47.76% 0.0087 -0.1893)
OKLCHoklch(47.76% 0.189 272.6)
XYZxyz(14.5100, 9.9515, 53.9687)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AC5 #C5B93E
analogous
#3E8DC5 #3E4AC5 #753EC5
triadic
#3E4AC5 #C53E4A #4AC53E
tetradic
#3E4AC5 #C53E8D #C5B93E #3EC575
square
#3E4AC5 #C53E8D #C5B93E #3EC575
split-complementary
#3E4AC5 #C5753E #8DC53E
monochromatic
#202669 #2E3798 #3E4AC5 #6D76D3 #9CA2E1

Accessibility & contrast

On white

7.02
#3E4AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3E4AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4AC5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AC5#FFFFFF#000000##FFFFFF
##3E4AC51.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e4ac5;
/* rgb */ color: rgb(62, 74, 197);
/* oklch */ color: oklch(47.8% 0.189 272.6);
Tailwind
colors: {
  custom: {
    50: '#847cd8',
    500: '#3e4ac5',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ac5;
$custom-light: #847cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ac5",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 234.667,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.18949,
    "h": 272.6
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#3E4AC5
secondary
#CDC891
accent
#D04BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3E4AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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