#3E4EAC#3E4EAC

#3E4EAC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.150 H 272.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3E4EAC
RGBrgb(62, 78, 172)
HSLhsl(231, 47%, 46%)
HSVhsv(231, 64%, 67%)
CMYKcmyk(64%, 54.7%, 0%, 32.5%)
CIE-LABlab(36.84, 24.16, -52.39)
CIE-LCHlch(36.84, 57.69, 294.76°)
OKLaboklab(46.48% 0.0052 -0.1504)
OKLCHoklch(46.48% 0.151 272)
XYZxyz(12.1549, 9.4504, 40.2053)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EAC #AC9C3E
analogous
#3E85AC #3E4EAC #653EAC
triadic
#3E4EAC #AC3E4E #4EAC3E
tetradic
#3E4EAC #AC3E85 #AC9C3E #3EAC65
square
#3E4EAC #AC3E85 #AC9C3E #3EAC65
split-complementary
#3E4EAC #AC653E #85AC3E
monochromatic
#1E2552 #2E3A7F #3E4EAC #6170C6 #8E99D6

Accessibility & contrast

On white

7.27
#3E4EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3E4EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EAC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EAC#FFFFFF#000000##FFFFFF
##3E4EAC1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e4eac;
/* rgb */ color: rgb(62, 78, 172);
/* oklch */ color: oklch(46.5% 0.150 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f7fc5',
    500: '#3e4eac',
    950: '#000000',
  },
}
SCSS
$custom: #3e4eac;
$custom-light: #7f7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4eac",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 231.273,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.1505,
    "h": 272
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

primary
#3E4EAC
secondary
#C1B885
accent
#C351D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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