#3E64AB#3E64AB

#3E64AB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.121 H 261.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3E64AB
RGBrgb(62, 100, 171)
HSLhsl(219, 47%, 46%)
HSVhsv(219, 64%, 67%)
CMYKcmyk(63.7%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.88, 9.58, -42.09)
CIE-LCHlch(42.88, 43.17, 282.83°)
OKLaboklab(51.06% -0.0173 -0.1199)
OKLCHoklch(51.06% 0.121 261.8)
XYZxyz(13.8919, 13.0775, 40.3123)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64AB #AB853E
analogous
#3E9AAB #3E64AB #4F3EAB
triadic
#3E64AB #AB3E64 #64AB3E
tetradic
#3E64AB #AB3E9A #AB853E #3EAB4F
square
#3E64AB #AB3E9A #AB853E #3EAB4F
split-complementary
#3E64AB #AB4F3E #9AAB3E
monochromatic
#1D2F51 #2E4A7E #3E64AB #6184C6 #8EA7D6

Accessibility & contrast

On white

5.81
#3E64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3E64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64AB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64AB#FFFFFF#000000##FFFFFF
##3E64AB1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#3461AA
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e64ab;
/* rgb */ color: rgb(62, 100, 171);
/* oklch */ color: oklch(51.1% 0.121 261.8);
Tailwind
colors: {
  custom: {
    50: '#7e8fc4',
    500: '#3e64ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e64ab;
$custom-light: #7e8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64ab",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 219.083,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51063,
    "c": 0.12111,
    "h": 261.8
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#3E64AB
secondary
#C1AC84
accent
#A851D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3E64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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