#3E4FAB#3E4FAB

#3E4FAB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.148 H 271.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3E4FAB
RGBrgb(62, 79, 171)
HSLhsl(231, 47%, 46%)
HSVhsv(231, 64%, 67%)
CMYKcmyk(63.7%, 53.8%, 0%, 32.9%)
CIE-LABlab(37.03, 23.15, -51.48)
CIE-LCHlch(37.03, 56.44, 294.22°)
OKLaboklab(46.6% 0.0041 -0.1477)
OKLCHoklch(46.6% 0.148 271.6)
XYZxyz(12.1308, 9.5553, 39.7253)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4FAB #AB9A3E
analogous
#3E85AB #3E4FAB #633EAB
triadic
#3E4FAB #AB3E4F #4FAB3E
tetradic
#3E4FAB #AB3E85 #AB9A3E #3EAB63
square
#3E4FAB #AB3E85 #AB9A3E #3EAB63
split-complementary
#3E4FAB #AB633E #85AB3E
monochromatic
#1D2551 #2E3A7E #3E4FAB #6170C6 #8E99D6

Accessibility & contrast

On white

7.21
#3E4FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3E4FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4FAB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4FAB#FFFFFF#000000##FFFFFF
##3E4FAB1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e4fab;
/* rgb */ color: rgb(62, 79, 171);
/* oklch */ color: oklch(46.6% 0.148 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f80c5',
    500: '#3e4fab',
    950: '#000000',
  },
}
SCSS
$custom: #3e4fab;
$custom-light: #7f80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4fab",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 230.642,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.466,
    "c": 0.14779,
    "h": 271.6
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#3E4FAB
secondary
#C1B784
accent
#C251D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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