#3167B4#3167B4

#3167B4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.7% C 0.135 H 257.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3167B4
RGBrgb(49, 103, 180)
HSLhsl(215, 57%, 45%)
HSVhsv(215, 73%, 71%)
CMYKcmyk(72.8%, 42.8%, 0%, 29.4%)
CIE-LABlab(43.72, 8.83, -46.06)
CIE-LCHlch(43.72, 46.90, 280.85°)
OKLaboklab(51.73% -0.0288 -0.1317)
OKLCHoklch(51.73% 0.135 257.7)
XYZxyz(14.3521, 13.6472, 45.0489)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3167B4 #B47E31
analogous
#31A9B4 #3167B4 #3C31B4
triadic
#3167B4 #B43167 #67B431
tetradic
#3167B4 #B431A9 #B47E31 #31B43C
square
#3167B4 #B431A9 #B47E31 #31B43C
split-complementary
#3167B4 #B43C31 #A9B431
monochromatic
#173054 #244B84 #3167B4 #5286D0 #82A8DD

Accessibility & contrast

On white

5.63
#3167B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3167B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3167B4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3167B4#FFFFFF#000000##FFFFFF
##3167B41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426EB7
Deuteranopia (green-blind)
#2B62B2
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3167b4;
/* rgb */ color: rgb(49, 103, 180);
/* oklch */ color: oklch(51.7% 0.135 257.7);
Tailwind
colors: {
  custom: {
    50: '#7a91cb',
    500: '#3167b4',
    950: '#000000',
  },
}
SCSS
$custom: #3167b4;
$custom-light: #7a91cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3167b4",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 180
  },
  "hsl": {
    "h": 215.267,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.13478,
    "h": 257.7
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#3167B4
secondary
#C6A77B
accent
#A147E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3167B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3167B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva