#3A56BD#3A56BD

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

Color values

HEX#3A56BD
RGBrgb(58, 86, 189)
HSLhsl(227, 53%, 48%)
HSVhsv(227, 69%, 74%)
CMYKcmyk(69.3%, 54.5%, 0%, 25.9%)
CIE-LABlab(39.96, 24.44, -57.35)
CIE-LCHlch(39.96, 62.34, 293.08°)
OKLaboklab(49.15% -0.005 -0.165)
OKLCHoklch(49.15% 0.165 268.3)
XYZxyz(14.2549, 11.2278, 49.5502)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A56BD #BDA13A
analogous
#3A97BD #3A56BD #603ABD
triadic
#3A56BD #BD3A56 #56BD3A
tetradic
#3A56BD #BD3A97 #BDA13A #3ABD60
square
#3A56BD #BD3A97 #BDA13A #3ABD60
split-complementary
#3A56BD #BD603A #97BD3A
monochromatic
#1D2B5F #2C418E #3A56BD #657BD0 #93A3DE

Accessibility & contrast

On white

6.47
#3A56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A56BD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A56BD#FFFFFF#000000##FFFFFF
##3A56BD1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a56bd;
/* rgb */ color: rgb(58, 86, 189);
/* oklch */ color: oklch(49.2% 0.165 268.3);
Tailwind
colors: {
  custom: {
    50: '#8085d2',
    500: '#3a56bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a56bd;
$custom-light: #8085d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a56bd",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 227.176,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.16509,
    "h": 268.3
  },
  "luminance": 0.11229
}

Semantic roles & 50–950 ramp

primary
#3A56BD
secondary
#C9BC8A
accent
#BD4BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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