#3E56AF#3E56AF

#3E56AF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.144 H 269.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3E56AF
RGBrgb(62, 86, 175)
HSLhsl(227, 48%, 46%)
HSVhsv(227, 65%, 69%)
CMYKcmyk(64.6%, 50.9%, 0%, 31.4%)
CIE-LABlab(39.20, 20.03, -50.35)
CIE-LCHlch(39.20, 54.19, 291.69°)
OKLaboklab(48.32% -0.0023 -0.1443)
OKLCHoklch(48.32% 0.144 269.1)
XYZxyz(13.0496, 10.7737, 41.9410)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E56AF #AF973E
analogous
#3E8FAF #3E56AF #5F3EAF
triadic
#3E56AF #AF3E56 #56AF3E
tetradic
#3E56AF #AF3E8F #AF973E #3EAF5F
square
#3E56AF #AF3E8F #AF973E #3EAF5F
split-complementary
#3E56AF #AF5F3E #8FAF3E
monochromatic
#1E2A55 #2E4082 #3E56AF #6378C8 #909FD8

Accessibility & contrast

On white

6.66
#3E56AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3E56AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E56AF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E56AF#FFFFFF#000000##FFFFFF
##3E56AF1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e56af;
/* rgb */ color: rgb(62, 86, 175);
/* oklch */ color: oklch(48.3% 0.144 269.1);
Tailwind
colors: {
  custom: {
    50: '#7f85c7',
    500: '#3e56af',
    950: '#000000',
  },
}
SCSS
$custom: #3e56af;
$custom-light: #7f85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e56af",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 227.257,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48322,
    "c": 0.14435,
    "h": 269.1
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#3E56AF
secondary
#C3B686
accent
#BB51D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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