#3164B5#3164B5

#3164B5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.140 H 259.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3164B5
RGBrgb(49, 100, 181)
HSLhsl(217, 57%, 45%)
HSVhsv(217, 73%, 71%)
CMYKcmyk(72.9%, 44.8%, 0%, 29%)
CIE-LABlab(42.92, 11.12, -47.93)
CIE-LCHlch(42.92, 49.21, 283.06°)
OKLaboklab(51.13% -0.0258 -0.1372)
OKLCHoklch(51.13% 0.14 259.3)
XYZxyz(14.1613, 13.1020, 45.4897)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3164B5 #B58231
analogous
#31A6B5 #3164B5 #4031B5
triadic
#3164B5 #B53164 #64B531
tetradic
#3164B5 #B531A6 #B58231 #31B540
square
#3164B5 #B531A6 #B58231 #31B540
split-complementary
#3164B5 #B54031 #A6B531
monochromatic
#172F55 #244985 #3164B5 #5383D0 #83A6DD

Accessibility & contrast

On white

5.80
#3164B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3164B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3164B5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3164B5#FFFFFF#000000##FFFFFF
##3164B51.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3164b5;
/* rgb */ color: rgb(49, 100, 181);
/* oklch */ color: oklch(51.1% 0.140 259.3);
Tailwind
colors: {
  custom: {
    50: '#7a8fcc',
    500: '#3164b5',
    950: '#000000',
  },
}
SCSS
$custom: #3164b5;
$custom-light: #7a8fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3164b5",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 216.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.13964,
    "h": 259.3
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#3164B5
secondary
#C7A97B
accent
#A547E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3164B5

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

Preview Lab → · Contrast checker → · Palette generator →

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