#3156AA#3156AA

#3156AA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.141 H 263.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3156AA
RGBrgb(49, 86, 170)
HSLhsl(222, 55%, 43%)
HSVhsv(222, 71%, 67%)
CMYKcmyk(71.2%, 49.4%, 0%, 33.3%)
CIE-LABlab(38.22, 16.08, -49.01)
CIE-LCHlch(38.22, 51.58, 288.16°)
OKLaboklab(47.29% -0.015 -0.1406)
OKLCHoklch(47.29% 0.141 263.9)
XYZxyz(11.8475, 10.2096, 39.3687)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156AA #AA8531
analogous
#3192AA #3156AA #4931AA
triadic
#3156AA #AA3156 #56AA31
tetradic
#3156AA #AA3192 #AA8531 #31AA49
square
#3156AA #AA3192 #AA8531 #31AA49
split-complementary
#3156AA #AA4931 #92AA31
monochromatic
#16264B #233E7A #3156AA #4D73CC #7C99D9

Accessibility & contrast

On white

6.90
#3156AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3156AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3156AA#FFFFFF#000000##FFFFFF
##3156AA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3156aa;
/* rgb */ color: rgb(49, 86, 170);
/* oklch */ color: oklch(47.3% 0.141 263.9);
Tailwind
colors: {
  custom: {
    50: '#7885c4',
    500: '#3156aa',
    950: '#000000',
  },
}
SCSS
$custom: #3156aa;
$custom-light: #7885c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3156aa",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 221.653,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47293,
    "c": 0.14143,
    "h": 263.9
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#3156AA
secondary
#C2AA75
accent
#B149DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3156AA

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

Preview Lab → · Contrast checker → · Palette generator →

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