#3A56AC#3A56AC

#3A56AC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.141 H 267.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3A56AC
RGBrgb(58, 86, 172)
HSLhsl(225, 50%, 45%)
HSVhsv(225, 66%, 67%)
CMYKcmyk(66.3%, 50%, 0%, 32.5%)
CIE-LABlab(38.78, 18.25, -49.26)
CIE-LCHlch(38.78, 52.53, 290.33°)
OKLaboklab(47.89% -0.0066 -0.1412)
OKLCHoklch(47.89% 0.141 267.3)
XYZxyz(12.5165, 10.5325, 40.3951)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A56AC #AC903A
analogous
#3A8FAC #3A56AC #573AAC
triadic
#3A56AC #AC3A56 #56AC3A
tetradic
#3A56AC #AC3A8F #AC903A #3AAC57
square
#3A56AC #AC3A8F #AC903A #3AAC57
split-complementary
#3A56AC #AC573A #8FAC3A
monochromatic
#1B2850 #2B3F7E #3A56AC #5B76C8 #899CD7

Accessibility & contrast

On white

6.76
#3A56AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3A56AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A56AC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A56AC#FFFFFF#000000##FFFFFF
##3A56AC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#0556AA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a56ac;
/* rgb */ color: rgb(58, 86, 172);
/* oklch */ color: oklch(47.9% 0.141 267.3);
Tailwind
colors: {
  custom: {
    50: '#7d85c5',
    500: '#3a56ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a56ac;
$custom-light: #7d85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a56ac",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 225.263,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.14135,
    "h": 267.3
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#3A56AC
secondary
#C2B280
accent
#B74FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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