#3164BF#3164BF

#3164BF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.153 H 260.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3164BF
RGBrgb(49, 100, 191)
HSLhsl(218, 59%, 47%)
HSVhsv(218, 74%, 75%)
CMYKcmyk(74.3%, 47.6%, 0%, 25.1%)
CIE-LABlab(43.55, 14.87, -52.74)
CIE-LCHlch(43.55, 54.80, 285.75°)
OKLaboklab(51.82% -0.0241 -0.1514)
OKLCHoklch(51.82% 0.153 260.9)
XYZxyz(15.2244, 13.5272, 51.0888)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3164BF #BF8C31
analogous
#31ABBF #3164BF #4531BF
triadic
#3164BF #BF3164 #64BF31
tetradic
#3164BF #BF31AB #BF8C31 #31BF45
square
#3164BF #BF31AB #BF8C31 #31BF45
split-complementary
#3164BF #BF4531 #ABBF31
monochromatic
#18315E #254A8E #3164BF #5985D4 #8AA9E1

Accessibility & contrast

On white

5.67
#3164BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3164BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3164BF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3164BF#FFFFFF#000000##FFFFFF
##3164BF1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#0761BD
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3164bf;
/* rgb */ color: rgb(49, 100, 191);
/* oklch */ color: oklch(51.8% 0.153 260.9);
Tailwind
colors: {
  custom: {
    50: '#7c8fd3',
    500: '#3164bf',
    950: '#000000',
  },
}
SCSS
$custom: #3164bf;
$custom-light: #7c8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3164bf",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 218.451,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51818,
    "c": 0.15329,
    "h": 260.9
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#3164BF
secondary
#CBB081
accent
#AA45E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3164BF

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

Preview Lab → · Contrast checker → · Palette generator →

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