#3161AA#3161AA

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

Color values

HEX#3161AA
RGBrgb(49, 97, 170)
HSLhsl(216, 55%, 43%)
HSVhsv(216, 71%, 67%)
CMYKcmyk(71.2%, 42.9%, 0%, 33.3%)
CIE-LABlab(41.38, 8.92, -43.93)
CIE-LCHlch(41.38, 44.83, 281.48°)
OKLaboklab(49.73% -0.0252 -0.1255)
OKLCHoklch(49.73% 0.128 258.6)
XYZxyz(12.7944, 12.1033, 39.6843)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161AA #AA7A31
analogous
#319DAA #3161AA #3D31AA
triadic
#3161AA #AA3161 #61AA31
tetradic
#3161AA #AA319D #AA7A31 #31AA3D
square
#3161AA #AA319D #AA7A31 #31AA3D
split-complementary
#3161AA #AA3D31 #9DAA31
monochromatic
#162B4B #23467A #3161AA #4D7FCC #7CA1D9

Accessibility & contrast

On white

6.14
#3161AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3161AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3161AA#FFFFFF#000000##FFFFFF
##3161AA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#295CA9
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3161aa;
/* rgb */ color: rgb(49, 97, 170);
/* oklch */ color: oklch(49.7% 0.128 258.6);
Tailwind
colors: {
  custom: {
    50: '#788dc4',
    500: '#3161aa',
    950: '#000000',
  },
}
SCSS
$custom: #3161aa;
$custom-light: #788dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3161aa",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 170
  },
  "hsl": {
    "h": 216.198,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49726,
    "c": 0.12803,
    "h": 258.6
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#3161AA
secondary
#C2A375
accent
#A349DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3161AA

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

Preview Lab → · Contrast checker → · Palette generator →

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