#3156BD#3156BD

#3156BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.168 H 265.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3156BD
RGBrgb(49, 86, 189)
HSLhsl(224, 59%, 47%)
HSVhsv(224, 74%, 74%)
CMYKcmyk(74.1%, 54.5%, 0%, 25.9%)
CIE-LABlab(39.55, 23.21, -58.04)
CIE-LCHlch(39.55, 62.51, 291.80°)
OKLaboklab(48.73% -0.013 -0.1672)
OKLCHoklch(48.73% 0.168 265.6)
XYZxyz(13.7765, 10.9812, 49.5278)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156BD #BD9831
analogous
#319CBD #3156BD #5231BD
triadic
#3156BD #BD3156 #56BD31
tetradic
#3156BD #BD319C #BD9831 #31BD52
square
#3156BD #BD319C #BD9831 #31BD52
split-complementary
#3156BD #BD5231 #9CBD31
monochromatic
#182A5C #24408C #3156BD #5878D4 #889FE0

Accessibility & contrast

On white

6.57
#3156BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3156BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3156BD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3156BD#FFFFFF#000000##FFFFFF
##3156BD1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3156bd;
/* rgb */ color: rgb(49, 86, 189);
/* oklch */ color: oklch(48.7% 0.168 265.6);
Tailwind
colors: {
  custom: {
    50: '#7c85d2',
    500: '#3156bd',
    950: '#000000',
  },
}
SCSS
$custom: #3156bd;
$custom-light: #7c85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3156bd",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 224.143,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.16771,
    "h": 265.6
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#3156BD
secondary
#CAB680
accent
#B946E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3156BD

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

Preview Lab → · Contrast checker → · Palette generator →

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