#3E4AAB#3E4AAB

#3E4AAB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.154 H 273.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3E4AAB
RGBrgb(62, 74, 171)
HSLhsl(233, 47%, 46%)
HSVhsv(233, 64%, 67%)
CMYKcmyk(63.7%, 56.7%, 0%, 32.9%)
CIE-LABlab(35.72, 26.41, -53.61)
CIE-LCHlch(35.72, 59.76, 296.22°)
OKLaboklab(45.61% 0.0089 -0.1541)
OKLCHoklch(45.61% 0.154 273.3)
XYZxyz(11.7836, 8.8610, 39.6095)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AAB #AB9F3E
analogous
#3E81AB #3E4AAB #683EAB
triadic
#3E4AAB #AB3E4A #4AAB3E
tetradic
#3E4AAB #AB3E81 #AB9F3E #3EAB68
square
#3E4AAB #AB3E81 #AB9F3E #3EAB68
split-complementary
#3E4AAB #AB683E #81AB3E
monochromatic
#1D2351 #2E377E #3E4AAB #616CC6 #8E96D6

Accessibility & contrast

On white

7.57
#3E4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3E4AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4AAB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AAB#FFFFFF#000000##FFFFFF
##3E4AAB1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e4aab;
/* rgb */ color: rgb(62, 74, 171);
/* oklch */ color: oklch(45.6% 0.154 273.3);
Tailwind
colors: {
  custom: {
    50: '#7f7cc5',
    500: '#3e4aab',
    950: '#000000',
  },
}
SCSS
$custom: #3e4aab;
$custom-light: #7f7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4aab",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 233.394,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.15432,
    "h": 273.3
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#3E4AAB
secondary
#C1BA84
accent
#C851D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E4AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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