#3E56BB#3E56BB

#3E56BB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.161 H 269.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3E56BB
RGBrgb(62, 86, 187)
HSLhsl(228, 50%, 49%)
HSVhsv(228, 67%, 73%)
CMYKcmyk(66.8%, 54%, 0%, 26.7%)
CIE-LABlab(40.03, 24.33, -56.07)
CIE-LCHlch(40.03, 61.12, 293.45°)
OKLaboklab(49.21% -0.0013 -0.1611)
OKLCHoklch(49.21% 0.161 269.5)
XYZxyz(14.2810, 11.2662, 48.4261)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E56BB #BBA33E
analogous
#3E95BB #3E56BB #653EBB
triadic
#3E56BB #BB3E56 #56BB3E
tetradic
#3E56BB #BB3E95 #BBA33E #3EBB65
square
#3E56BB #BB3E95 #BBA33E #3EBB65
split-complementary
#3E56BB #BB653E #95BB3E
monochromatic
#202C5F #2F418D #3E56BB #697CCD #97A4DC

Accessibility & contrast

On white

6.45
#3E56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3E56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E56BB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E56BB#FFFFFF#000000##FFFFFF
##3E56BB1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3e56bb;
/* rgb */ color: rgb(62, 86, 187);
/* oklch */ color: oklch(49.2% 0.161 269.5);
Tailwind
colors: {
  custom: {
    50: '#8185d0',
    500: '#3e56bb',
    950: '#000000',
  },
}
SCSS
$custom: #3e56bb;
$custom-light: #8185d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e56bb",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 228.48,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49212,
    "c": 0.16116,
    "h": 269.5
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#3E56BB
secondary
#C8BD8D
accent
#BF4EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3E56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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