#3164B7#3164B7

#3164B7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.3% C 0.142 H 259.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3164B7
RGBrgb(49, 100, 183)
HSLhsl(217, 58%, 45%)
HSVhsv(217, 73%, 72%)
CMYKcmyk(73.2%, 45.4%, 0%, 28.2%)
CIE-LABlab(43.04, 11.87, -48.90)
CIE-LCHlch(43.04, 50.32, 283.64°)
OKLaboklab(51.27% -0.0255 -0.1401)
OKLCHoklch(51.27% 0.142 259.7)
XYZxyz(14.3679, 13.1846, 46.5782)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3164B7 #B78431
analogous
#31A7B7 #3164B7 #4131B7
triadic
#3164B7 #B73164 #64B731
tetradic
#3164B7 #B731A7 #B78431 #31B741
square
#3164B7 #B731A7 #B78431 #31B741
split-complementary
#3164B7 #B74131 #A7B731
monochromatic
#172F56 #244A87 #3164B7 #5484D1 #84A6DE

Accessibility & contrast

On white

5.77
#3164B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3164B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3164B7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3164B7#FFFFFF#000000##FFFFFF
##3164B71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CBA
Deuteranopia (green-blind)
#1E60B5
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3164b7;
/* rgb */ color: rgb(49, 100, 183);
/* oklch */ color: oklch(51.3% 0.142 259.7);
Tailwind
colors: {
  custom: {
    50: '#7b8fcd',
    500: '#3164b7',
    950: '#000000',
  },
}
SCSS
$custom: #3164b7;
$custom-light: #7b8fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3164b7",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 183
  },
  "hsl": {
    "h": 217.164,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.14238,
    "h": 259.7
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#3164B7
secondary
#C8AB7C
accent
#A647E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3164B7

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

Preview Lab → · Contrast checker → · Palette generator →

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