#3164BC#3164BC

#3164BC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.149 H 260.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3164BC
RGBrgb(49, 100, 188)
HSLhsl(218, 59%, 46%)
HSVhsv(218, 74%, 74%)
CMYKcmyk(73.9%, 46.8%, 0%, 26.3%)
CIE-LABlab(43.35, 13.75, -51.31)
CIE-LCHlch(43.35, 53.12, 285.00°)
OKLaboklab(51.61% -0.0246 -0.1472)
OKLCHoklch(51.61% 0.149 260.5)
XYZxyz(14.8976, 13.3965, 49.3678)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3164BC #BC8931
analogous
#31AABC #3164BC #4431BC
triadic
#3164BC #BC3164 #64BC31
tetradic
#3164BC #BC31AA #BC8931 #31BC44
square
#3164BC #BC31AA #BC8931 #31BC44
split-complementary
#3164BC #BC4431 #AABC31
monochromatic
#18305B #244A8B #3164BC #5785D3 #88A8E0

Accessibility & contrast

On white

5.71
#3164BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3164BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3164BC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3164BC#FFFFFF#000000##FFFFFF
##3164BC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#1360BA
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3164bc;
/* rgb */ color: rgb(49, 100, 188);
/* oklch */ color: oklch(51.6% 0.149 260.5);
Tailwind
colors: {
  custom: {
    50: '#7c8fd1',
    500: '#3164bc',
    950: '#000000',
  },
}
SCSS
$custom: #3164bc;
$custom-light: #7c8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3164bc",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 217.986,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.14921,
    "h": 260.5
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#3164BC
secondary
#CAAE7F
accent
#A946E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3164BC

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

Preview Lab → · Contrast checker → · Palette generator →

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