#3E4FA4#3E4FA4

#3E4FA4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.138 H 271.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3E4FA4
RGBrgb(62, 79, 164)
HSLhsl(230, 45%, 44%)
HSVhsv(230, 62%, 64%)
CMYKcmyk(62.2%, 51.8%, 0%, 35.7%)
CIE-LABlab(36.55, 20.67, -48.09)
CIE-LCHlch(36.55, 52.34, 293.26°)
OKLaboklab(46.08% 0.0036 -0.1377)
OKLCHoklch(46.08% 0.138 271.5)
XYZxyz(11.4812, 9.2955, 36.3039)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4FA4 #A4933E
analogous
#3E82A4 #3E4FA4 #603EA4
triadic
#3E4FA4 #A43E4F #4FA43E
tetradic
#3E4FA4 #A43E82 #A4933E #3EA460
square
#3E4FA4 #A43E82 #A4933E #3EA460
split-complementary
#3E4FA4 #A4603E #82A43E
monochromatic
#1C244B #2D3A78 #3E4FA4 #5D6EC2 #8A96D3

Accessibility & contrast

On white

7.34
#3E4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3E4FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4FA4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4FA4#FFFFFF#000000##FFFFFF
##3E4FA41.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA7
Deuteranopia (green-blind)
#0152A2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4fa4;
/* rgb */ color: rgb(62, 79, 164);
/* oklch */ color: oklch(46.1% 0.138 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d80bf',
    500: '#3e4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3e4fa4;
$custom-light: #7d80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4fa4",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 230,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.1378,
    "h": 271.5
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#3E4FA4
secondary
#BDB381
accent
#BF53D5
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3E4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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