#3156AD#3156AD

#3156AD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.146 H 264.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#3156AD
RGBrgb(49, 86, 173)
HSLhsl(222, 56%, 44%)
HSVhsv(222, 72%, 68%)
CMYKcmyk(71.7%, 50.3%, 0%, 32.2%)
CIE-LABlab(38.42, 17.20, -50.46)
CIE-LCHlch(38.42, 53.31, 288.83°)
OKLaboklab(47.51% -0.0146 -0.1449)
OKLCHoklch(47.51% 0.146 264.3)
XYZxyz(12.1346, 10.3244, 40.8804)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156AD #AD8831
analogous
#3194AD #3156AD #4A31AD
triadic
#3156AD #AD3156 #56AD31
tetradic
#3156AD #AD3194 #AD8831 #31AD4A
square
#3156AD #AD3194 #AD8831 #31AD4A
split-complementary
#3156AD #AD4A31 #94AD31
monochromatic
#16274E #233E7D #3156AD #4E74CD #7E9ADA

Accessibility & contrast

On white

6.85
#3156AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3156AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3156AD
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3156AD#FFFFFF#000000##FFFFFF
##3156AD1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360B0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3156ad;
/* rgb */ color: rgb(49, 86, 173);
/* oklch */ color: oklch(47.5% 0.146 264.3);
Tailwind
colors: {
  custom: {
    50: '#7985c6',
    500: '#3156ad',
    950: '#000000',
  },
}
SCSS
$custom: #3156ad;
$custom-light: #7985c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3156ad",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 222.097,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.14563,
    "h": 264.3
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#3156AD
secondary
#C3AC77
accent
#B249DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3156AD

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

Preview Lab → · Contrast checker → · Palette generator →

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