#3160B0#3160B0

#3160B0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 49.9% C 0.138 H 260.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#3160B0
RGBrgb(49, 96, 176)
HSLhsl(218, 56%, 44%)
HSVhsv(218, 72%, 69%)
CMYKcmyk(72.2%, 45.5%, 0%, 31%)
CIE-LABlab(41.46, 11.81, -47.34)
CIE-LCHlch(41.46, 48.79, 284.01°)
OKLaboklab(49.9% -0.0231 -0.1356)
OKLCHoklch(49.9% 0.138 260.3)
XYZxyz(13.2831, 12.1519, 42.7114)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160B0 #B08131
analogous
#31A0B0 #3160B0 #4231B0
triadic
#3160B0 #B03160 #60B031
tetradic
#3160B0 #B031A0 #B08131 #31B042
square
#3160B0 #B031A0 #B08131 #31B042
split-complementary
#3160B0 #B04231 #A0B031
monochromatic
#162C50 #244680 #3160B0 #507FCE #80A2DC

Accessibility & contrast

On white

6.12
#3160B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3160B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3160B0#FFFFFF#000000##FFFFFF
##3160B01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B3
Deuteranopia (green-blind)
#1E5CAE
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3160b0;
/* rgb */ color: rgb(49, 96, 176);
/* oklch */ color: oklch(49.9% 0.138 260.3);
Tailwind
colors: {
  custom: {
    50: '#798cc8',
    500: '#3160b0',
    950: '#000000',
  },
}
SCSS
$custom: #3160b0;
$custom-light: #798cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3160b0",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 176
  },
  "hsl": {
    "h": 217.795,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49904,
    "c": 0.13752,
    "h": 260.3
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#3160B0
secondary
#C5A878
accent
#A848E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3160B0

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

Preview Lab → · Contrast checker → · Palette generator →

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