#3A56BE#3A56BE

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

Color values

HEX#3A56BE
RGBrgb(58, 86, 190)
HSLhsl(227, 53%, 49%)
HSVhsv(227, 69%, 75%)
CMYKcmyk(69.5%, 54.7%, 0%, 25.5%)
CIE-LABlab(40.03, 24.80, -57.82)
CIE-LCHlch(40.03, 62.91, 293.22°)
OKLaboklab(49.23% -0.005 -0.1664)
OKLCHoklch(49.23% 0.166 268.3)
XYZxyz(14.3638, 11.2714, 50.1238)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A56BE #BEA23A
analogous
#3A98BE #3A56BE #603ABE
triadic
#3A56BE #BE3A56 #56BE3A
tetradic
#3A56BE #BE3A98 #BEA23A #3ABE60
square
#3A56BE #BE3A98 #BEA23A #3ABE60
split-complementary
#3A56BE #BE603A #98BE3A
monochromatic
#1D2C60 #2C418F #3A56BE #657CD0 #94A4DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A56BE#FFFFFF#000000##FFFFFF
##3A56BE1.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)
#0065C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a56be;
/* rgb */ color: rgb(58, 86, 190);
/* oklch */ color: oklch(49.2% 0.166 268.3);
Tailwind
colors: {
  custom: {
    50: '#8085d2',
    500: '#3a56be',
    950: '#000000',
  },
}
SCSS
$custom: #3a56be;
$custom-light: #8085d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a56be",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 227.273,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.16645,
    "h": 268.3
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#3A56BE
secondary
#CABC8A
accent
#BE4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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