#3166CF#3166CF

#3166CF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.4% C 0.172 H 262.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3166CF
RGBrgb(49, 102, 207)
HSLhsl(220, 62%, 50%)
HSVhsv(220, 76%, 81%)
CMYKcmyk(76.3%, 50.7%, 0%, 18.8%)
CIE-LABlab(45.16, 19.60, -59.37)
CIE-LCHlch(45.16, 62.52, 288.27°)
OKLaboklab(53.39% -0.0236 -0.1708)
OKLCHoklch(53.39% 0.172 262.1)
XYZxyz(17.2764, 14.6587, 60.9383)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166CF #CF9A31
analogous
#31B5CF #3166CF #4B31CF
triadic
#3166CF #CF3166 #66CF31
tetradic
#3166CF #CF31B5 #CF9A31 #31CF4B
square
#3166CF #CF31B5 #CF9A31 #31CF4B
split-complementary
#3166CF #CF4B31 #B5CF31
monochromatic
#19356C #254D9E #3166CF #638BDB #94B0E6

Accessibility & contrast

On white

5.34
#3166CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3166CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166CF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166CF#FFFFFF#000000##FFFFFF
##3166CF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3166cf;
/* rgb */ color: rgb(49, 102, 207);
/* oklch */ color: oklch(53.4% 0.172 262.1);
Tailwind
colors: {
  custom: {
    50: '#8091de',
    500: '#3166cf',
    950: '#000000',
  },
}
SCSS
$custom: #3166cf;
$custom-light: #8091de;
$custom-dark: #000000;
JSON
{
  "hex": "#3166cf",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 219.873,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53393,
    "c": 0.17245,
    "h": 262.1
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#3166CF
secondary
#D1BA8B
accent
#AF43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3166CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3166CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva