#3E5EA5#3E5EA5

#3E5EA5 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.4% C 0.120 H 264.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3E5EA5
RGBrgb(62, 94, 165)
HSLhsl(221, 45%, 45%)
HSVhsv(221, 62%, 65%)
CMYKcmyk(62.4%, 43%, 0%, 35.3%)
CIE-LABlab(40.81, 11.28, -41.85)
CIE-LCHlch(40.81, 43.34, 285.09°)
OKLaboklab(49.35% -0.0121 -0.1192)
OKLCHoklch(49.35% 0.12 264.2)
XYZxyz(12.7785, 11.7450, 37.1836)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5EA5 #A5853E
analogous
#3E92A5 #3E5EA5 #523EA5
triadic
#3E5EA5 #A53E5E #5EA53E
tetradic
#3E5EA5 #A53E92 #A5853E #3EA552
square
#3E5EA5 #A53E92 #A5853E #3EA552
split-complementary
#3E5EA5 #A5523E #92A53E
monochromatic
#1D2B4C #2D4579 #3E5EA5 #5E7DC2 #8AA1D3

Accessibility & contrast

On white

6.27
#3E5EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3E5EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5EA5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5EA5#FFFFFF#000000##FFFFFF
##3E5EA51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A8
Deuteranopia (green-blind)
#2F5CA4
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3e5ea5;
/* rgb */ color: rgb(62, 94, 165);
/* oklch */ color: oklch(49.4% 0.120 264.2);
Tailwind
colors: {
  custom: {
    50: '#7d8bc0',
    500: '#3e5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ea5;
$custom-light: #7d8bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ea5",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 221.359,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49351,
    "c": 0.11984,
    "h": 264.2
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#3E5EA5
secondary
#BEAB81
accent
#AD53D5
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3E5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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