#3156B8#3156B8

#3156B8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.161 H 265.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3156B8
RGBrgb(49, 86, 184)
HSLhsl(224, 58%, 46%)
HSVhsv(224, 73%, 72%)
CMYKcmyk(73.4%, 53.3%, 0%, 27.8%)
CIE-LABlab(39.19, 21.34, -55.70)
CIE-LCHlch(39.19, 59.65, 290.96°)
OKLaboklab(48.34% -0.0134 -0.1603)
OKLCHoklch(48.34% 0.161 265.2)
XYZxyz(13.2431, 10.7678, 46.7186)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156B8 #B89331
analogous
#3199B8 #3156B8 #5031B8
triadic
#3156B8 #B83156 #56B831
tetradic
#3156B8 #B83199 #B89331 #31B850
square
#3156B8 #B83199 #B89331 #31B850
split-complementary
#3156B8 #B85031 #99B831
monochromatic
#172957 #243F88 #3156B8 #5577D2 #859DDE

Accessibility & contrast

On white

6.66
#3156B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3156B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3156B8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3156B8#FFFFFF#000000##FFFFFF
##3156B81.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E63BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3156b8;
/* rgb */ color: rgb(49, 86, 184);
/* oklch */ color: oklch(48.3% 0.161 265.2);
Tailwind
colors: {
  custom: {
    50: '#7b85ce',
    500: '#3156b8',
    950: '#000000',
  },
}
SCSS
$custom: #3156b8;
$custom-light: #7b85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3156b8",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 184
  },
  "hsl": {
    "h": 223.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.16088,
    "h": 265.2
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#3156B8
secondary
#C8B37D
accent
#B747E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3156B8

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

Preview Lab → · Contrast checker → · Palette generator →

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