#3168C2#3168C2

#3168C2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.9% C 0.153 H 259.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3168C2
RGBrgb(49, 104, 194)
HSLhsl(217, 60%, 48%)
HSVhsv(217, 75%, 76%)
CMYKcmyk(74.7%, 46.4%, 0%, 23.9%)
CIE-LABlab(44.87, 13.44, -52.36)
CIE-LCHlch(44.87, 54.06, 284.39°)
OKLaboklab(52.89% -0.027 -0.1502)
OKLCHoklch(52.89% 0.153 259.8)
XYZxyz(15.9510, 14.4469, 52.9763)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3168C2 #C28B31
analogous
#31B1C2 #3168C2 #4231C2
triadic
#3168C2 #C23168 #68C231
tetradic
#3168C2 #C231B1 #C28B31 #31C242
square
#3168C2 #C231B1 #C28B31 #31C242
split-complementary
#3168C2 #C24231 #B1C231
monochromatic
#183460 #254E91 #3168C2 #5B89D6 #8CACE2

Accessibility & contrast

On white

5.40
#3168C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3168C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3168C2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3168C2#FFFFFF#000000##FFFFFF
##3168C21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3871C5
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#007D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3168c2;
/* rgb */ color: rgb(49, 104, 194);
/* oklch */ color: oklch(52.9% 0.153 259.8);
Tailwind
colors: {
  custom: {
    50: '#7d92d5',
    500: '#3168c2',
    950: '#000000',
  },
}
SCSS
$custom: #3168c2;
$custom-light: #7d92d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3168c2",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 194
  },
  "hsl": {
    "h": 217.241,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.15259,
    "h": 259.8
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#3168C2
secondary
#CCB083
accent
#A745E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3168C2

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

Preview Lab → · Contrast checker → · Palette generator →

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