#3156AE#3156AE

#3156AE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.147 H 264.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3156AE
RGBrgb(49, 86, 174)
HSLhsl(222, 56%, 44%)
HSVhsv(222, 72%, 68%)
CMYKcmyk(71.8%, 50.6%, 0%, 31.8%)
CIE-LABlab(38.49, 17.58, -50.94)
CIE-LCHlch(38.49, 53.89, 289.04°)
OKLaboklab(47.59% -0.0145 -0.1463)
OKLCHoklch(47.59% 0.147 264.4)
XYZxyz(12.2317, 10.3633, 41.3919)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156AE #AE8931
analogous
#3194AE #3156AE #4A31AE
triadic
#3156AE #AE3156 #56AE31
tetradic
#3156AE #AE3194 #AE8931 #31AE4A
square
#3156AE #AE3194 #AE8931 #31AE4A
split-complementary
#3156AE #AE4A31 #94AE31
monochromatic
#16274E #243E7E #3156AE #4F74CD #7F9ADB

Accessibility & contrast

On white

6.83
#3156AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3156AE#FFFFFF#000000##FFFFFF
##3156AE1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3156ae;
/* rgb */ color: rgb(49, 86, 174);
/* oklch */ color: oklch(47.6% 0.147 264.4);
Tailwind
colors: {
  custom: {
    50: '#7985c7',
    500: '#3156ae',
    950: '#000000',
  },
}
SCSS
$custom: #3156ae;
$custom-light: #7985c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3156ae",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 222.24,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47586,
    "c": 0.14703,
    "h": 264.4
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#3156AE
secondary
#C4AD77
accent
#B348DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3156AE

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

Preview Lab → · Contrast checker → · Palette generator →

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