#3161AD#3161AD

#3161AD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 49.9% C 0.132 H 259.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3161AD
RGBrgb(49, 97, 173)
HSLhsl(217, 56%, 44%)
HSVhsv(217, 72%, 68%)
CMYKcmyk(71.7%, 43.9%, 0%, 32.2%)
CIE-LABlab(41.56, 10.05, -45.41)
CIE-LCHlch(41.56, 46.51, 282.47°)
OKLaboklab(49.93% -0.0246 -0.1299)
OKLCHoklch(49.93% 0.132 259.3)
XYZxyz(13.0814, 12.2181, 41.1960)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161AD #AD7D31
analogous
#319FAD #3161AD #3F31AD
triadic
#3161AD #AD3161 #61AD31
tetradic
#3161AD #AD319F #AD7D31 #31AD3F
square
#3161AD #AD319F #AD7D31 #31AD3F
split-complementary
#3161AD #AD3F31 #9FAD31
monochromatic
#162C4E #23467D #3161AD #4E7FCD #7EA2DA

Accessibility & contrast

On white

6.10
#3161AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3161AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161AD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161AD#FFFFFF#000000##FFFFFF
##3161AD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68B0
Deuteranopia (green-blind)
#255DAB
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3161ad;
/* rgb */ color: rgb(49, 97, 173);
/* oklch */ color: oklch(49.9% 0.132 259.3);
Tailwind
colors: {
  custom: {
    50: '#798dc6',
    500: '#3161ad',
    950: '#000000',
  },
}
SCSS
$custom: #3161ad;
$custom-light: #798dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3161ad",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 173
  },
  "hsl": {
    "h": 216.774,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49925,
    "c": 0.13218,
    "h": 259.3
  },
  "luminance": 0.12219
}

Semantic roles & 50–950 ramp

primary
#3161AD
secondary
#C3A677
accent
#A549DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3161AD

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

Preview Lab → · Contrast checker → · Palette generator →

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