#3156AF#3156AF

#3156AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.148 H 264.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3156AF
RGBrgb(49, 86, 175)
HSLhsl(222, 56%, 44%)
HSVhsv(222, 72%, 69%)
CMYKcmyk(72%, 50.9%, 0%, 31.4%)
CIE-LABlab(38.56, 17.96, -51.42)
CIE-LCHlch(38.56, 54.47, 289.25°)
OKLaboklab(47.66% -0.0143 -0.1477)
OKLCHoklch(47.66% 0.148 264.5)
XYZxyz(12.3295, 10.4024, 41.9072)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156AF #AF8A31
analogous
#3195AF #3156AF #4B31AF
triadic
#3156AF #AF3156 #56AF31
tetradic
#3156AF #AF3195 #AF8A31 #31AF4B
square
#3156AF #AF3195 #AF8A31 #31AF4B
split-complementary
#3156AF #AF4B31 #95AF31
monochromatic
#16274F #243F7F #3156AF #4F75CE #7F9ADB

Accessibility & contrast

On white

6.82
#3156AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3156AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3156AF#FFFFFF#000000##FFFFFF
##3156AF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3156af;
/* rgb */ color: rgb(49, 86, 175);
/* oklch */ color: oklch(47.7% 0.148 264.5);
Tailwind
colors: {
  custom: {
    50: '#7985c7',
    500: '#3156af',
    950: '#000000',
  },
}
SCSS
$custom: #3156af;
$custom-light: #7985c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3156af",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 222.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.14842,
    "h": 264.5
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#3156AF
secondary
#C4AE78
accent
#B348E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3156AF

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

Preview Lab → · Contrast checker → · Palette generator →

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