#3164AC#3164AC

#3164AC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.5% C 0.127 H 257.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3164AC
RGBrgb(49, 100, 172)
HSLhsl(215, 56%, 43%)
HSVhsv(215, 72%, 67%)
CMYKcmyk(71.5%, 41.9%, 0%, 32.5%)
CIE-LABlab(42.38, 7.75, -43.52)
CIE-LCHlch(42.38, 44.20, 280.10°)
OKLaboklab(50.54% -0.0276 -0.1243)
OKLCHoklch(50.54% 0.127 257.5)
XYZxyz(13.2675, 12.7445, 40.7824)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3164AC #AC7931
analogous
#31A1AC #3164AC #3B31AC
triadic
#3164AC #AC3164 #64AC31
tetradic
#3164AC #AC31A1 #AC7931 #31AC3B
square
#3164AC #AC31A1 #AC7931 #31AC3B
split-complementary
#3164AC #AC3B31 #A1AC31
monochromatic
#162D4D #23487C #3164AC #4E82CC #7DA4DA

Accessibility & contrast

On white

5.92
#3164AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3164AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3164AC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3164AC#FFFFFF#000000##FFFFFF
##3164AC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3164ac;
/* rgb */ color: rgb(49, 100, 172);
/* oklch */ color: oklch(50.5% 0.127 257.5);
Tailwind
colors: {
  custom: {
    50: '#788fc5',
    500: '#3164ac',
    950: '#000000',
  },
}
SCSS
$custom: #3164ac;
$custom-light: #788fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3164ac",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 172
  },
  "hsl": {
    "h": 215.122,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.1273,
    "h": 257.5
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#3164AC
secondary
#C3A376
accent
#A149DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3164AC

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

Preview Lab → · Contrast checker → · Palette generator →

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