#3160A7#3160A7

#3160A7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.3% C 0.125 H 258.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3160A7
RGBrgb(49, 96, 167)
HSLhsl(216, 55%, 42%)
HSVhsv(216, 71%, 65%)
CMYKcmyk(70.7%, 42.5%, 0%, 34.5%)
CIE-LABlab(40.91, 8.44, -42.91)
CIE-LCHlch(40.91, 43.73, 281.13°)
OKLaboklab(49.3% -0.0249 -0.1225)
OKLCHoklch(49.3% 0.125 258.5)
XYZxyz(12.4220, 11.8074, 38.1761)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160A7 #A77831
analogous
#319BA7 #3160A7 #3D31A7
triadic
#3160A7 #A73160 #60A731
tetradic
#3160A7 #A7319B #A77831 #31A73D
square
#3160A7 #A7319B #A77831 #31A73D
split-complementary
#3160A7 #A73D31 #9BA731
monochromatic
#152A48 #234578 #3160A7 #4B7ECA #7AA0D8

Accessibility & contrast

On white

6.25
#3160A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3160A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3160A7#FFFFFF#000000##FFFFFF
##3160A71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#2B5BA6
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3160a7;
/* rgb */ color: rgb(49, 96, 167);
/* oklch */ color: oklch(49.3% 0.125 258.5);
Tailwind
colors: {
  custom: {
    50: '#778cc1',
    500: '#3160a7',
    950: '#000000',
  },
}
SCSS
$custom: #3160a7;
$custom-light: #778cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3160a7",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 167
  },
  "hsl": {
    "h": 216.102,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.12504,
    "h": 258.5
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#3160A7
secondary
#C1A273
accent
#A34ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3160A7

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

Preview Lab → · Contrast checker → · Palette generator →

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