#3166F6#3166F6

#3166F6 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.4% C 0.223 H 264.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3166F6
RGBrgb(49, 102, 246)
HSLhsl(224, 92%, 58%)
HSVhsv(224, 80%, 96%)
CMYKcmyk(80.1%, 58.5%, 0%, 3.5%)
CIE-LABlab(48.02, 34.04, -76.78)
CIE-LCHlch(48.02, 83.99, 293.91°)
OKLaboklab(56.44% -0.0207 -0.222)
OKLCHoklch(56.44% 0.223 264.7)
XYZxyz(22.6466, 16.8068, 89.2214)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166F6 #F6C131
analogous
#31C8F6 #3166F6 #5E31F6
triadic
#3166F6 #F63166 #66F631
tetradic
#3166F6 #F631C8 #F6C131 #31F65E
square
#3166F6 #F631C8 #F6C131 #31F65E
split-complementary
#3166F6 #F65E31 #C8F631
monochromatic
#0732A5 #0A43E0 #3166F6 #6C92F9 #A6BDFB

Accessibility & contrast

On white

4.81
#3166F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3166F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166F6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166F6#FFFFFF#000000##FFFFFF
##3166F61.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0069F3
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3166f6;
/* rgb */ color: rgb(49, 102, 246);
/* oklch */ color: oklch(56.4% 0.223 264.7);
Tailwind
colors: {
  custom: {
    50: '#8891fa',
    500: '#3166f6',
    950: '#000000',
  },
}
SCSS
$custom: #3166f6;
$custom-light: #8891fa;
$custom-dark: #000000;
JSON
{
  "hex": "#3166f6",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 223.858,
    "s": 91.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.22299,
    "h": 264.7
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#3166F6
secondary
#E9D49A
accent
#C529FF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #3166F6

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

Preview Lab → · Contrast checker → · Palette generator →

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