#3168B8#3168B8

#3168B8 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.2% C 0.139 H 258.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#3168B8
RGBrgb(49, 104, 184)
HSLhsl(216, 58%, 46%)
HSVhsv(216, 73%, 72%)
CMYKcmyk(73.4%, 43.5%, 0%, 27.8%)
CIE-LABlab(44.25, 9.69, -47.55)
CIE-LCHlch(44.25, 48.52, 281.52°)
OKLaboklab(52.22% -0.0289 -0.136)
OKLCHoklch(52.22% 0.139 258)
XYZxyz(14.8655, 14.0127, 47.2594)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3168B8 #B88131
analogous
#31ABB8 #3168B8 #3E31B8
triadic
#3168B8 #B83168 #68B831
tetradic
#3168B8 #B831AB #B88131 #31B83E
square
#3168B8 #B831AB #B88131 #31B83E
split-complementary
#3168B8 #B83E31 #ABB831
monochromatic
#173157 #244D88 #3168B8 #5588D2 #85A9DE

Accessibility & contrast

On white

5.52
#3168B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3168B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3168B8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3168B8#FFFFFF#000000##FFFFFF
##3168B81.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416FBB
Deuteranopia (green-blind)
#2863B6
Tritanopia (blue-blind)
#007B87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3168b8;
/* rgb */ color: rgb(49, 104, 184);
/* oklch */ color: oklch(52.2% 0.139 258.0);
Tailwind
colors: {
  custom: {
    50: '#7b92ce',
    500: '#3168b8',
    950: '#000000',
  },
}
SCSS
$custom: #3168b8;
$custom-light: #7b92ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3168b8",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 184
  },
  "hsl": {
    "h": 215.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.13905,
    "h": 258
  },
  "luminance": 0.14014
}

Semantic roles & 50–950 ramp

primary
#3168B8
secondary
#C8A97D
accent
#A247E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3168B8

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

Preview Lab → · Contrast checker → · Palette generator →

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