#3A56BA#3A56BA

#3A56BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.161 H 268.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3A56BA
RGBrgb(58, 86, 186)
HSLhsl(227, 52%, 48%)
HSVhsv(227, 69%, 73%)
CMYKcmyk(68.8%, 53.8%, 0%, 27.1%)
CIE-LABlab(39.75, 23.35, -55.94)
CIE-LCHlch(39.75, 60.62, 292.65°)
OKLaboklab(48.92% -0.0052 -0.1609)
OKLCHoklch(48.92% 0.161 268.1)
XYZxyz(13.9326, 11.0989, 47.8529)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A56BA #BA9E3A
analogous
#3A96BA #3A56BA #5E3ABA
triadic
#3A56BA #BA3A56 #56BA3A
tetradic
#3A56BA #BA3A96 #BA9E3A #3ABA5E
square
#3A56BA #BA3A96 #BA9E3A #3ABA5E
split-complementary
#3A56BA #BA5E3A #96BA3A
monochromatic
#1D2B5D #2B408B #3A56BA #637ACE #92A2DD

Accessibility & contrast

On white

6.52
#3A56BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3A56BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A56BA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A56BA#FFFFFF#000000##FFFFFF
##3A56BA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a56ba;
/* rgb */ color: rgb(58, 86, 186);
/* oklch */ color: oklch(48.9% 0.161 268.1);
Tailwind
colors: {
  custom: {
    50: '#7f85cf',
    500: '#3a56ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a56ba;
$custom-light: #7f85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a56ba",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 226.875,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.16096,
    "h": 268.1
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#3A56BA
secondary
#C8BA88
accent
#BC4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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