#3164BA#3164BA

#3164BA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.5% C 0.146 H 260.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3164BA
RGBrgb(49, 100, 186)
HSLhsl(218, 58%, 46%)
HSVhsv(218, 74%, 73%)
CMYKcmyk(73.7%, 46.2%, 0%, 27.1%)
CIE-LABlab(43.23, 12.99, -50.35)
CIE-LCHlch(43.23, 52.00, 284.47°)
OKLaboklab(51.47% -0.0249 -0.1443)
OKLCHoklch(51.47% 0.146 260.2)
XYZxyz(14.6835, 13.3109, 48.2402)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3164BA #BA8731
analogous
#31A8BA #3164BA #4231BA
triadic
#3164BA #BA3164 #64BA31
tetradic
#3164BA #BA31A8 #BA8731 #31BA42
square
#3164BA #BA31A8 #BA8731 #31BA42
split-complementary
#3164BA #BA4231 #A8BA31
monochromatic
#173059 #244A8A #3164BA #5684D2 #86A7DF

Accessibility & contrast

On white

5.73
#3164BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3164BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3164BA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3164BA#FFFFFF#000000##FFFFFF
##3164BA1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3164ba;
/* rgb */ color: rgb(49, 100, 186);
/* oklch */ color: oklch(51.5% 0.146 260.2);
Tailwind
colors: {
  custom: {
    50: '#7b8fcf',
    500: '#3164ba',
    950: '#000000',
  },
}
SCSS
$custom: #3164ba;
$custom-light: #7b8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3164ba",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 217.664,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.14648,
    "h": 260.2
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#3164BA
secondary
#C9AD7E
accent
#A846E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3164BA

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

Preview Lab → · Contrast checker → · Palette generator →

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