#3E56AC#3E56AC

#3E56AC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.140 H 268.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3E56AC
RGBrgb(62, 86, 172)
HSLhsl(227, 47%, 46%)
HSVhsv(227, 64%, 67%)
CMYKcmyk(64%, 50%, 0%, 32.5%)
CIE-LABlab(39.00, 18.95, -48.90)
CIE-LCHlch(39.00, 52.45, 291.19°)
OKLaboklab(48.11% -0.0027 -0.1401)
OKLCHoklch(48.11% 0.14 268.9)
XYZxyz(12.7583, 10.6571, 40.4064)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E56AC #AC943E
analogous
#3E8DAC #3E56AC #5D3EAC
triadic
#3E56AC #AC3E56 #56AC3E
tetradic
#3E56AC #AC3E8D #AC943E #3EAC5D
square
#3E56AC #AC3E8D #AC943E #3EAC5D
split-complementary
#3E56AC #AC5D3E #8DAC3E
monochromatic
#1E2952 #2E407F #3E56AC #6177C6 #8E9ED6

Accessibility & contrast

On white

6.71
#3E56AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3E56AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E56AC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E56AC#FFFFFF#000000##FFFFFF
##3E56AC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AF
Deuteranopia (green-blind)
#0C57AA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e56ac;
/* rgb */ color: rgb(62, 86, 172);
/* oklch */ color: oklch(48.1% 0.140 268.9);
Tailwind
colors: {
  custom: {
    50: '#7e85c5',
    500: '#3e56ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e56ac;
$custom-light: #7e85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e56ac",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 226.909,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.14009,
    "h": 268.9
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#3E56AC
secondary
#C1B485
accent
#BA51D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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