#3A56BF#3A56BF

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

Color values

HEX#3A56BF
RGBrgb(58, 86, 191)
HSLhsl(227, 53%, 49%)
HSVhsv(227, 70%, 75%)
CMYKcmyk(69.6%, 55%, 0%, 25.1%)
CIE-LABlab(40.11, 25.16, -58.28)
CIE-LCHlch(40.11, 63.48, 293.35°)
OKLaboklab(49.31% -0.0049 -0.1677)
OKLCHoklch(49.31% 0.168 268.3)
XYZxyz(14.4734, 11.3153, 50.7014)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A56BF #BFA33A
analogous
#3A99BF #3A56BF #603ABF
triadic
#3A56BF #BF3A56 #56BF3A
tetradic
#3A56BF #BF3A99 #BFA33A #3ABF60
square
#3A56BF #BF3A99 #BFA33A #3ABF60
split-complementary
#3A56BF #BF603A #99BF3A
monochromatic
#1D2C61 #2C4190 #3A56BF #667CD0 #95A4DF

Accessibility & contrast

On white

6.44
#3A56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3A56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A56BF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A56BF#FFFFFF#000000##FFFFFF
##3A56BF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a56bf;
/* rgb */ color: rgb(58, 86, 191);
/* oklch */ color: oklch(49.3% 0.168 268.3);
Tailwind
colors: {
  custom: {
    50: '#8085d3',
    500: '#3a56bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a56bf;
$custom-light: #8085d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a56bf",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 227.368,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.16782,
    "h": 268.3
  },
  "luminance": 0.11317
}

Semantic roles & 50–950 ramp

primary
#3A56BF
secondary
#CABD8B
accent
#BE4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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