#3168C7#3168C7

#3168C7 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.2% C 0.159 H 260.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3168C7
RGBrgb(49, 104, 199)
HSLhsl(218, 60%, 49%)
HSVhsv(218, 75%, 78%)
CMYKcmyk(75.4%, 47.7%, 0%, 22%)
CIE-LABlab(45.19, 15.31, -54.73)
CIE-LCHlch(45.19, 56.83, 285.63°)
OKLaboklab(53.24% -0.0262 -0.1572)
OKLCHoklch(53.24% 0.159 260.5)
XYZxyz(16.5220, 14.6753, 55.9836)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3168C7 #C79031
analogous
#31B3C7 #3168C7 #4531C7
triadic
#3168C7 #C73168 #68C731
tetradic
#3168C7 #C731B3 #C79031 #31C745
square
#3168C7 #C731B3 #C79031 #31C745
split-complementary
#3168C7 #C74531 #B3C731
monochromatic
#193565 #254E96 #3168C7 #5E8AD7 #8FAEE3

Accessibility & contrast

On white

5.34
#3168C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3168C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3168C7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3168C7#FFFFFF#000000##FFFFFF
##3168C71.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3372CB
Deuteranopia (green-blind)
#0164C5
Tritanopia (blue-blind)
#007F8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3168c7;
/* rgb */ color: rgb(49, 104, 199);
/* oklch */ color: oklch(53.2% 0.159 260.5);
Tailwind
colors: {
  custom: {
    50: '#7e92d9',
    500: '#3168c7',
    950: '#000000',
  },
}
SCSS
$custom: #3168c7;
$custom-light: #7e92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3168c7",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 199
  },
  "hsl": {
    "h": 218,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.15933,
    "h": 260.5
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#3168C7
secondary
#CEB486
accent
#A944E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #3168C7

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

Preview Lab → · Contrast checker → · Palette generator →

#3168C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva