#3167BA#3167BA

#3167BA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.1% C 0.143 H 258.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#3167BA
RGBrgb(49, 103, 186)
HSLhsl(216, 58%, 46%)
HSVhsv(216, 74%, 73%)
CMYKcmyk(73.7%, 44.6%, 0%, 27.1%)
CIE-LABlab(44.08, 11.07, -48.98)
CIE-LCHlch(44.08, 50.21, 282.74°)
OKLaboklab(52.13% -0.0276 -0.1403)
OKLCHoklch(52.13% 0.143 258.9)
XYZxyz(14.9766, 13.8970, 48.3379)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3167BA #BA8431
analogous
#31ABBA #3167BA #3F31BA
triadic
#3167BA #BA3167 #67BA31
tetradic
#3167BA #BA31AB #BA8431 #31BA3F
square
#3167BA #BA31AB #BA8431 #31BA3F
split-complementary
#3167BA #BA3F31 #ABBA31
monochromatic
#173159 #244C8A #3167BA #5687D2 #86A9DF

Accessibility & contrast

On white

5.56
#3167BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3167BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3167BA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3167BA#FFFFFF#000000##FFFFFF
##3167BA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3167ba;
/* rgb */ color: rgb(49, 103, 186);
/* oklch */ color: oklch(52.1% 0.143 258.9);
Tailwind
colors: {
  custom: {
    50: '#7b91cf',
    500: '#3167ba',
    950: '#000000',
  },
}
SCSS
$custom: #3167ba;
$custom-light: #7b91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3167ba",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 186
  },
  "hsl": {
    "h": 216.35,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.14294,
    "h": 258.9
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#3167BA
secondary
#C9AB7E
accent
#A446E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3167BA

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

Preview Lab → · Contrast checker → · Palette generator →

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