#3A56BC#3A56BC

#3A56BC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.164 H 268.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#3A56BC
RGBrgb(58, 86, 188)
HSLhsl(227, 53%, 48%)
HSVhsv(227, 69%, 74%)
CMYKcmyk(69.1%, 54.3%, 0%, 26.3%)
CIE-LABlab(39.89, 24.07, -56.88)
CIE-LCHlch(39.89, 61.77, 292.94°)
OKLaboklab(49.08% -0.0051 -0.1636)
OKLCHoklch(49.08% 0.164 268.2)
XYZxyz(14.1467, 11.1846, 48.9805)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A56BC #BCA03A
analogous
#3A97BC #3A56BC #5F3ABC
triadic
#3A56BC #BC3A56 #56BC3A
tetradic
#3A56BC #BC3A97 #BCA03A #3ABC5F
square
#3A56BC #BC3A97 #BCA03A #3ABC5F
split-complementary
#3A56BC #BC5F3A #97BC3A
monochromatic
#1D2B5E #2C418D #3A56BC #647BCF #93A3DE

Accessibility & contrast

On white

6.49
#3A56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3A56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A56BC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A56BC#FFFFFF#000000##FFFFFF
##3A56BC1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a56bc;
/* rgb */ color: rgb(58, 86, 188);
/* oklch */ color: oklch(49.1% 0.164 268.2);
Tailwind
colors: {
  custom: {
    50: '#8085d1',
    500: '#3a56bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a56bc;
$custom-light: #8085d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a56bc",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 227.077,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49077,
    "c": 0.16371,
    "h": 268.2
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#3A56BC
secondary
#C9BB89
accent
#BD4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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