#3168CC#3168CC

#3168CC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.6% C 0.166 H 261.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3168CC
RGBrgb(49, 104, 204)
HSLhsl(219, 61%, 50%)
HSVhsv(219, 76%, 80%)
CMYKcmyk(76%, 49%, 0%, 20%)
CIE-LABlab(45.51, 17.19, -57.08)
CIE-LCHlch(45.51, 59.61, 286.76°)
OKLaboklab(53.6% -0.0255 -0.1641)
OKLCHoklch(53.6% 0.166 261.2)
XYZxyz(17.1121, 14.9113, 59.0913)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3168CC #CC9531
analogous
#31B5CC #3168CC #4831CC
triadic
#3168CC #CC3168 #68CC31
tetradic
#3168CC #CC31B5 #CC9531 #31CC48
square
#3168CC #CC31B5 #CC9531 #31CC48
split-complementary
#3168CC #CC4831 #B5CC31
monochromatic
#193669 #254F9B #3168CC #618CD9 #92B0E5

Accessibility & contrast

On white

5.27
#3168CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#3168CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3168CC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3168CC#FFFFFF#000000##FFFFFF
##3168CC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#008090
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3168cc;
/* rgb */ color: rgb(49, 104, 204);
/* oklch */ color: oklch(53.6% 0.166 261.2);
Tailwind
colors: {
  custom: {
    50: '#7f92dc',
    500: '#3168cc',
    950: '#000000',
  },
}
SCSS
$custom: #3168cc;
$custom-light: #7f92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3168cc",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 218.71,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.16604,
    "h": 261.2
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#3168CC
secondary
#D0B789
accent
#AB43E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3168CC

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

Preview Lab → · Contrast checker → · Palette generator →

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