#3161A9#3161A9

#3161A9 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.7% C 0.127 H 258.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#3161A9
RGBrgb(49, 97, 169)
HSLhsl(216, 55%, 43%)
HSVhsv(216, 71%, 66%)
CMYKcmyk(71%, 42.6%, 0%, 33.7%)
CIE-LABlab(41.32, 8.55, -43.44)
CIE-LCHlch(41.32, 44.27, 281.14°)
OKLaboklab(49.66% -0.0254 -0.1241)
OKLCHoklch(49.66% 0.127 258.4)
XYZxyz(12.7002, 12.0656, 39.1880)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161A9 #A97931
analogous
#319DA9 #3161A9 #3D31A9
triadic
#3161A9 #A93161 #61A931
tetradic
#3161A9 #A9319D #A97931 #31A93D
square
#3161A9 #A9319D #A97931 #31A93D
split-complementary
#3161A9 #A93D31 #9DA931
monochromatic
#152B4A #23467A #3161A9 #4C7FCB #7CA1D9

Accessibility & contrast

On white

6.15
#3161A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3161A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161A9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161A9#FFFFFF#000000##FFFFFF
##3161A91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AC
Deuteranopia (green-blind)
#2B5CA8
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3161a9;
/* rgb */ color: rgb(49, 97, 169);
/* oklch */ color: oklch(49.7% 0.127 258.4);
Tailwind
colors: {
  custom: {
    50: '#788dc3',
    500: '#3161a9',
    950: '#000000',
  },
}
SCSS
$custom: #3161a9;
$custom-light: #788dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3161a9",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 169
  },
  "hsl": {
    "h": 216,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.12665,
    "h": 258.4
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#3161A9
secondary
#C1A374
accent
#A349DE
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3161A9

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

Preview Lab → · Contrast checker → · Palette generator →

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