#3156BF#3156BF

#3156BF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.170 H 265.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3156BF
RGBrgb(49, 86, 191)
HSLhsl(224, 59%, 47%)
HSVhsv(224, 74%, 75%)
CMYKcmyk(74.3%, 55%, 0%, 25.1%)
CIE-LABlab(39.70, 23.96, -58.97)
CIE-LCHlch(39.70, 63.65, 292.11°)
OKLaboklab(48.89% -0.0128 -0.1699)
OKLCHoklch(48.89% 0.17 265.7)
XYZxyz(13.9951, 11.0686, 50.6790)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156BF #BF9A31
analogous
#319DBF #3156BF #5331BF
triadic
#3156BF #BF3156 #56BF31
tetradic
#3156BF #BF319D #BF9A31 #31BF53
square
#3156BF #BF319D #BF9A31 #31BF53
split-complementary
#3156BF #BF5331 #9DBF31
monochromatic
#182A5E #25408E #3156BF #5979D4 #8AA0E1

Accessibility & contrast

On white

6.53
#3156BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3156BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3156BF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3156BF#FFFFFF#000000##FFFFFF
##3156BF1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3156bf;
/* rgb */ color: rgb(49, 86, 191);
/* oklch */ color: oklch(48.9% 0.170 265.7);
Tailwind
colors: {
  custom: {
    50: '#7d85d3',
    500: '#3156bf',
    950: '#000000',
  },
}
SCSS
$custom: #3156bf;
$custom-light: #7d85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3156bf",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 224.366,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48887,
    "c": 0.17043,
    "h": 265.7
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#3156BF
secondary
#CBB881
accent
#B945E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3156BF

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

Preview Lab → · Contrast checker → · Palette generator →

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