#3164CC#3164CC

#3164CC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.171 H 262.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#3164CC
RGBrgb(49, 100, 204)
HSLhsl(220, 61%, 50%)
HSVhsv(220, 76%, 80%)
CMYKcmyk(76%, 51%, 0%, 20%)
CIE-LABlab(44.41, 19.76, -58.86)
CIE-LCHlch(44.41, 62.09, 288.56°)
OKLaboklab(52.76% -0.0224 -0.1694)
OKLCHoklch(52.76% 0.171 262.5)
XYZxyz(16.7190, 14.1250, 58.9603)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3164CC #CC9931
analogous
#31B2CC #3164CC #4B31CC
triadic
#3164CC #CC3164 #64CC31
tetradic
#3164CC #CC31B2 #CC9931 #31CC4B
square
#3164CC #CC31B2 #CC9931 #31CC4B
split-complementary
#3164CC #CC4B31 #B2CC31
monochromatic
#193469 #254C9B #3164CC #6189D9 #92AEE5

Accessibility & contrast

On white

5.49
#3164CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3164CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3164CC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3164CC#FFFFFF#000000##FFFFFF
##3164CC1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3164cc;
/* rgb */ color: rgb(49, 100, 204);
/* oklch */ color: oklch(52.8% 0.171 262.5);
Tailwind
colors: {
  custom: {
    50: '#7f8fdc',
    500: '#3164cc',
    950: '#000000',
  },
}
SCSS
$custom: #3164cc;
$custom-light: #7f8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3164cc",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 220.258,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.17084,
    "h": 262.5
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#3164CC
secondary
#D0B989
accent
#AF43E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3164CC

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

Preview Lab → · Contrast checker → · Palette generator →

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