#3156BC#3156BC

#3156BC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.166 H 265.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3156BC
RGBrgb(49, 86, 188)
HSLhsl(224, 59%, 46%)
HSVhsv(224, 74%, 74%)
CMYKcmyk(73.9%, 54.3%, 0%, 26.3%)
CIE-LABlab(39.48, 22.84, -57.57)
CIE-LCHlch(39.48, 61.94, 291.64°)
OKLaboklab(48.65% -0.0131 -0.1658)
OKLCHoklch(48.65% 0.166 265.5)
XYZxyz(13.6683, 10.9379, 48.9581)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156BC #BC9731
analogous
#319CBC #3156BC #5231BC
triadic
#3156BC #BC3156 #56BC31
tetradic
#3156BC #BC319C #BC9731 #31BC52
square
#3156BC #BC319C #BC9731 #31BC52
split-complementary
#3156BC #BC5231 #9CBC31
monochromatic
#182A5B #24408B #3156BC #5778D3 #889FE0

Accessibility & contrast

On white

6.59
#3156BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3156BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3156BC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3156BC#FFFFFF#000000##FFFFFF
##3156BC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3156bc;
/* rgb */ color: rgb(49, 86, 188);
/* oklch */ color: oklch(48.7% 0.166 265.5);
Tailwind
colors: {
  custom: {
    50: '#7c85d1',
    500: '#3156bc',
    950: '#000000',
  },
}
SCSS
$custom: #3156bc;
$custom-light: #7c85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3156bc",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 224.029,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48651,
    "c": 0.16635,
    "h": 265.5
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#3156BC
secondary
#CAB67F
accent
#B846E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3156BC

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

Preview Lab → · Contrast checker → · Palette generator →

#3156BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva