#3E4CAC#3E4CAC

#3E4CAC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.153 H 272.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3E4CAC
RGBrgb(62, 76, 172)
HSLhsl(232, 47%, 46%)
HSVhsv(232, 64%, 67%)
CMYKcmyk(64%, 55.8%, 0%, 32.5%)
CIE-LABlab(36.31, 25.46, -53.24)
CIE-LCHlch(36.31, 59.01, 295.56°)
OKLaboklab(46.08% 0.0071 -0.1529)
OKLCHoklch(46.08% 0.153 272.6)
XYZxyz(12.0150, 9.1705, 40.1587)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4CAC #AC9E3E
analogous
#3E83AC #3E4CAC #673EAC
triadic
#3E4CAC #AC3E4C #4CAC3E
tetradic
#3E4CAC #AC3E83 #AC9E3E #3EAC67
square
#3E4CAC #AC3E83 #AC9E3E #3EAC67
split-complementary
#3E4CAC #AC673E #83AC3E
monochromatic
#1E2452 #2E387F #3E4CAC #616EC6 #8E97D6

Accessibility & contrast

On white

7.41
#3E4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3E4CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4CAC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4CAC#FFFFFF#000000##FFFFFF
##3E4CAC1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e4cac;
/* rgb */ color: rgb(62, 76, 172);
/* oklch */ color: oklch(46.1% 0.153 272.6);
Tailwind
colors: {
  custom: {
    50: '#7f7dc5',
    500: '#3e4cac',
    950: '#000000',
  },
}
SCSS
$custom: #3e4cac;
$custom-light: #7f7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4cac",
  "rgb": {
    "r": 62,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 232.364,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.15311,
    "h": 272.6
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#3E4CAC
secondary
#C1B985
accent
#C651D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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