#3164B1#3164B1

#3164B1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.134 H 258.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3164B1
RGBrgb(49, 100, 177)
HSLhsl(216, 57%, 44%)
HSVhsv(216, 72%, 69%)
CMYKcmyk(72.3%, 43.5%, 0%, 30.6%)
CIE-LABlab(42.67, 9.62, -45.98)
CIE-LCHlch(42.67, 46.98, 281.82°)
OKLaboklab(50.86% -0.0266 -0.1315)
OKLCHoklch(50.86% 0.134 258.6)
XYZxyz(13.7567, 12.9402, 43.3591)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3164B1 #B17E31
analogous
#31A4B1 #3164B1 #3E31B1
triadic
#3164B1 #B13164 #64B131
tetradic
#3164B1 #B131A4 #B17E31 #31B13E
square
#3164B1 #B131A4 #B17E31 #31B13E
split-complementary
#3164B1 #B13E31 #A4B131
monochromatic
#162E51 #244981 #3164B1 #5183CF #80A5DC

Accessibility & contrast

On white

5.85
#3164B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3164B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3164B1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3164B1#FFFFFF#000000##FFFFFF
##3164B11.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3164b1;
/* rgb */ color: rgb(49, 100, 177);
/* oklch */ color: oklch(50.9% 0.134 258.6);
Tailwind
colors: {
  custom: {
    50: '#798fc9',
    500: '#3164b1',
    950: '#000000',
  },
}
SCSS
$custom: #3164b1;
$custom-light: #798fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3164b1",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 177
  },
  "hsl": {
    "h": 216.094,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50863,
    "c": 0.13416,
    "h": 258.6
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#3164B1
secondary
#C5A779
accent
#A348E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3164B1

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

Preview Lab → · Contrast checker → · Palette generator →

#3164B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva