#3156B3#3156B3

#3156B3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.154 H 264.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3156B3
RGBrgb(49, 86, 179)
HSLhsl(223, 57%, 45%)
HSVhsv(223, 73%, 70%)
CMYKcmyk(72.6%, 52%, 0%, 29.8%)
CIE-LABlab(38.83, 19.46, -53.33)
CIE-LCHlch(38.83, 56.77, 290.05°)
OKLaboklab(47.96% -0.0139 -0.1534)
OKLCHoklch(47.96% 0.154 264.8)
XYZxyz(12.7282, 10.5619, 44.0069)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156B3 #B38E31
analogous
#3197B3 #3156B3 #4D31B3
triadic
#3156B3 #B33156 #56B331
tetradic
#3156B3 #B33197 #B38E31 #31B34D
square
#3156B3 #B33197 #B38E31 #31B34D
split-complementary
#3156B3 #B34D31 #97B331
monochromatic
#172853 #243F83 #3156B3 #5275D0 #829CDD

Accessibility & contrast

On white

6.75
#3156B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3156B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3156B3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3156B3#FFFFFF#000000##FFFFFF
##3156B31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3156b3;
/* rgb */ color: rgb(49, 86, 179);
/* oklch */ color: oklch(48.0% 0.154 264.8);
Tailwind
colors: {
  custom: {
    50: '#7a85ca',
    500: '#3156b3',
    950: '#000000',
  },
}
SCSS
$custom: #3156b3;
$custom-light: #7a85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3156b3",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 222.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.15399,
    "h": 264.8
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#3156B3
secondary
#C6B07A
accent
#B548E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3156B3

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

Preview Lab → · Contrast checker → · Palette generator →

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