#3168C5#3168C5

#3168C5 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.1% C 0.157 H 260.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3168C5
RGBrgb(49, 104, 197)
HSLhsl(218, 60%, 48%)
HSVhsv(218, 75%, 77%)
CMYKcmyk(75.1%, 47.2%, 0%, 22.7%)
CIE-LABlab(45.06, 14.56, -53.79)
CIE-LCHlch(45.06, 55.72, 285.15°)
OKLaboklab(53.1% -0.0265 -0.1544)
OKLCHoklch(53.1% 0.157 260.2)
XYZxyz(16.2913, 14.5830, 54.7687)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3168C5 #C58E31
analogous
#31B2C5 #3168C5 #4431C5
triadic
#3168C5 #C53168 #68C531
tetradic
#3168C5 #C531B2 #C58E31 #31C544
square
#3168C5 #C531B2 #C58E31 #31C544
split-complementary
#3168C5 #C54431 #B2C531
monochromatic
#193463 #254E94 #3168C5 #5D8AD7 #8EADE3

Accessibility & contrast

On white

5.36
#3168C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3168C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3168C5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3168C5#FFFFFF#000000##FFFFFF
##3168C51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3572C8
Deuteranopia (green-blind)
#0A64C3
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3168c5;
/* rgb */ color: rgb(49, 104, 197);
/* oklch */ color: oklch(53.1% 0.157 260.2);
Tailwind
colors: {
  custom: {
    50: '#7d92d7',
    500: '#3168c5',
    950: '#000000',
  },
}
SCSS
$custom: #3168c5;
$custom-light: #7d92d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3168c5",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 197
  },
  "hsl": {
    "h": 217.703,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.15664,
    "h": 260.2
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#3168C5
secondary
#CDB285
accent
#A844E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3168C5

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

Preview Lab → · Contrast checker → · Palette generator →

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