#3164B2#3164B2

#3164B2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.136 H 258.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3164B2
RGBrgb(49, 100, 178)
HSLhsl(216, 57%, 45%)
HSVhsv(216, 72%, 70%)
CMYKcmyk(72.5%, 43.8%, 0%, 30.2%)
CIE-LABlab(42.73, 9.99, -46.47)
CIE-LCHlch(42.73, 47.53, 282.14°)
OKLaboklab(50.93% -0.0264 -0.1329)
OKLCHoklch(50.93% 0.136 258.8)
XYZxyz(13.8568, 12.9802, 43.8860)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3164B2 #B27F31
analogous
#31A5B2 #3164B2 #3F31B2
triadic
#3164B2 #B23164 #64B231
tetradic
#3164B2 #B231A5 #B27F31 #31B23F
square
#3164B2 #B231A5 #B27F31 #31B23F
split-complementary
#3164B2 #B23F31 #A5B231
monochromatic
#172E52 #244982 #3164B2 #5183CF #81A5DC

Accessibility & contrast

On white

5.84
#3164B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3164B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3164B2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3164B2#FFFFFF#000000##FFFFFF
##3164B21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3164b2;
/* rgb */ color: rgb(49, 100, 178);
/* oklch */ color: oklch(50.9% 0.136 258.8);
Tailwind
colors: {
  custom: {
    50: '#798fc9',
    500: '#3164b2',
    950: '#000000',
  },
}
SCSS
$custom: #3164b2;
$custom-light: #798fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3164b2",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 216.279,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.13553,
    "h": 258.8
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#3164B2
secondary
#C5A779
accent
#A448E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3164B2

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

Preview Lab → · Contrast checker → · Palette generator →

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