#3160AA#3160AA

#3160AA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.5% C 0.129 H 259.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3160AA
RGBrgb(49, 96, 170)
HSLhsl(217, 55%, 43%)
HSVhsv(217, 71%, 67%)
CMYKcmyk(71.2%, 43.5%, 0%, 33.3%)
CIE-LABlab(41.09, 9.57, -44.40)
CIE-LCHlch(41.09, 45.42, 282.16°)
OKLaboklab(49.5% -0.0243 -0.1269)
OKLCHoklch(49.5% 0.129 259.2)
XYZxyz(12.7026, 11.9196, 39.6537)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160AA #AA7B31
analogous
#319CAA #3160AA #3E31AA
triadic
#3160AA #AA3160 #60AA31
tetradic
#3160AA #AA319C #AA7B31 #31AA3E
square
#3160AA #AA319C #AA7B31 #31AA3E
split-complementary
#3160AA #AA3E31 #9CAA31
monochromatic
#162A4B #23457A #3160AA #4D7ECC #7CA0D9

Accessibility & contrast

On white

6.21
#3160AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3160AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160AA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160AA#FFFFFF#000000##FFFFFF
##3160AA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#275CA8
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3160aa;
/* rgb */ color: rgb(49, 96, 170);
/* oklch */ color: oklch(49.5% 0.129 259.2);
Tailwind
colors: {
  custom: {
    50: '#788cc4',
    500: '#3160aa',
    950: '#000000',
  },
}
SCSS
$custom: #3160aa;
$custom-light: #788cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3160aa",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 170
  },
  "hsl": {
    "h": 216.694,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49501,
    "c": 0.12921,
    "h": 259.2
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#3160AA
secondary
#C2A475
accent
#A549DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3160AA

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

Preview Lab → · Contrast checker → · Palette generator →

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