#3E64A2#3E64A2

#3E64A2 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.5% C 0.108 H 259.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3E64A2
RGBrgb(62, 100, 162)
HSLhsl(217, 45%, 44%)
HSVhsv(217, 62%, 64%)
CMYKcmyk(61.7%, 38.3%, 0%, 36.5%)
CIE-LABlab(42.38, 6.40, -37.58)
CIE-LCHlch(42.38, 38.12, 279.67°)
OKLaboklab(50.51% -0.0193 -0.1066)
OKLCHoklch(50.51% 0.108 259.7)
XYZxyz(13.0631, 12.7459, 35.9472)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E64A2 #A27C3E
analogous
#3E96A2 #3E64A2 #4A3EA2
triadic
#3E64A2 #A23E64 #64A23E
tetradic
#3E64A2 #A23E96 #A27C3E #3EA24A
square
#3E64A2 #A23E96 #A27C3E #3EA24A
split-complementary
#3E64A2 #A24A3E #96A23E
monochromatic
#1C2D49 #2D4976 #3E64A2 #5C83C1 #89A4D2

Accessibility & contrast

On white

5.92
#3E64A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3E64A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E64A2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E64A2#FFFFFF#000000##FFFFFF
##3E64A21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#3C60A1
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e64a2;
/* rgb */ color: rgb(62, 100, 162);
/* oklch */ color: oklch(50.5% 0.108 259.7);
Tailwind
colors: {
  custom: {
    50: '#7c8fbe',
    500: '#3e64a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e64a2;
$custom-light: #7c8fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e64a2",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 217.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.10836,
    "h": 259.7
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#3E64A2
secondary
#BCA580
accent
#A353D4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3E64A2

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

Preview Lab → · Contrast checker → · Palette generator →

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