#3E5FAC#3E5FAC

#3E5FAC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.129 H 264.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3E5FAC
RGBrgb(62, 95, 172)
HSLhsl(222, 47%, 46%)
HSVhsv(222, 64%, 67%)
CMYKcmyk(64%, 44.8%, 0%, 32.5%)
CIE-LABlab(41.51, 13.13, -44.87)
CIE-LCHlch(41.51, 46.75, 286.32°)
OKLaboklab(50.03% -0.0118 -0.1281)
OKLCHoklch(50.03% 0.129 264.7)
XYZxyz(13.5226, 12.1859, 40.6612)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FAC #AC8B3E
analogous
#3E96AC #3E5FAC #543EAC
triadic
#3E5FAC #AC3E5F #5FAC3E
tetradic
#3E5FAC #AC3E96 #AC8B3E #3EAC54
square
#3E5FAC #AC3E96 #AC8B3E #3EAC54
split-complementary
#3E5FAC #AC543E #96AC3E
monochromatic
#1E2D52 #2E467F #3E5FAC #617FC6 #8EA4D6

Accessibility & contrast

On white

6.11
#3E5FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3E5FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FAC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FAC#FFFFFF#000000##FFFFFF
##3E5FAC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AF
Deuteranopia (green-blind)
#295DAA
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3e5fac;
/* rgb */ color: rgb(62, 95, 172);
/* oklch */ color: oklch(50.0% 0.129 264.7);
Tailwind
colors: {
  custom: {
    50: '#7e8cc5',
    500: '#3e5fac',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fac;
$custom-light: #7e8cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fac",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 222,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.12863,
    "h": 264.7
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#3E5FAC
secondary
#C1AF85
accent
#AF51D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3E5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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