#3156BE#3156BE

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

Color values

HEX#3156BE
RGBrgb(49, 86, 190)
HSLhsl(224, 59%, 47%)
HSVhsv(224, 74%, 75%)
CMYKcmyk(74.2%, 54.7%, 0%, 25.5%)
CIE-LABlab(39.62, 23.59, -58.50)
CIE-LCHlch(39.62, 63.08, 291.96°)
OKLaboklab(48.81% -0.0129 -0.1686)
OKLCHoklch(48.81% 0.169 265.6)
XYZxyz(13.8854, 11.0247, 50.1014)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156BE #BE9931
analogous
#319DBE #3156BE #5231BE
triadic
#3156BE #BE3156 #56BE31
tetradic
#3156BE #BE319D #BE9931 #31BE52
square
#3156BE #BE319D #BE9931 #31BE52
split-complementary
#3156BE #BE5231 #9DBE31
monochromatic
#182A5D #24408D #3156BE #5879D4 #89A0E1

Accessibility & contrast

On white

6.55
#3156BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3156BE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3156BE#FFFFFF#000000##FFFFFF
##3156BE1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3156be;
/* rgb */ color: rgb(49, 86, 190);
/* oklch */ color: oklch(48.8% 0.169 265.6);
Tailwind
colors: {
  custom: {
    50: '#7d85d2',
    500: '#3156be',
    950: '#000000',
  },
}
SCSS
$custom: #3156be;
$custom-light: #7d85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3156be",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 224.255,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.16907,
    "h": 265.6
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3156BE

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

Preview Lab → · Contrast checker → · Palette generator →

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