#3E56AA#3E56AA

#3E56AA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.137 H 268.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3E56AA
RGBrgb(62, 86, 170)
HSLhsl(227, 47%, 45%)
HSVhsv(227, 64%, 67%)
CMYKcmyk(63.5%, 49.4%, 0%, 33.3%)
CIE-LABlab(38.87, 18.24, -47.93)
CIE-LCHlch(38.87, 51.28, 290.83°)
OKLaboklab(47.96% -0.0029 -0.1372)
OKLCHoklch(47.96% 0.137 268.8)
XYZxyz(12.5676, 10.5809, 39.4024)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E56AA #AA923E
analogous
#3E8CAA #3E56AA #5C3EAA
triadic
#3E56AA #AA3E56 #56AA3E
tetradic
#3E56AA #AA3E8C #AA923E #3EAA5C
square
#3E56AA #AA3E8C #AA923E #3EAA5C
split-complementary
#3E56AA #AA5C3E #8CAA3E
monochromatic
#1D2950 #2E3F7D #3E56AA #6077C5 #8D9DD5

Accessibility & contrast

On white

6.74
#3E56AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3E56AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E56AA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E56AA#FFFFFF#000000##FFFFFF
##3E56AA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#1257A8
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e56aa;
/* rgb */ color: rgb(62, 86, 170);
/* oklch */ color: oklch(48.0% 0.137 268.8);
Tailwind
colors: {
  custom: {
    50: '#7e85c4',
    500: '#3e56aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e56aa;
$custom-light: #7e85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e56aa",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 226.667,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47964,
    "c": 0.13722,
    "h": 268.8
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#3E56AA
secondary
#C0B384
accent
#B952D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E56AA

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

Preview Lab → · Contrast checker → · Palette generator →

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