#3168B7#3168B7

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

Color values

HEX#3168B7
RGBrgb(49, 104, 183)
HSLhsl(215, 58%, 45%)
HSVhsv(215, 73%, 72%)
CMYKcmyk(73.2%, 43.2%, 0%, 28.2%)
CIE-LABlab(44.19, 9.31, -47.06)
CIE-LCHlch(44.19, 47.97, 281.20°)
OKLaboklab(52.15% -0.0291 -0.1346)
OKLCHoklch(52.15% 0.138 257.8)
XYZxyz(14.7611, 13.9709, 46.7093)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3168B7 #B78031
analogous
#31ABB7 #3168B7 #3D31B7
triadic
#3168B7 #B73168 #68B731
tetradic
#3168B7 #B731AB #B78031 #31B73D
square
#3168B7 #B731AB #B78031 #31B73D
split-complementary
#3168B7 #B73D31 #ABB731
monochromatic
#173156 #244D87 #3168B7 #5487D1 #84A9DE

Accessibility & contrast

On white

5.53
#3168B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3168B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3168B7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3168B7#FFFFFF#000000##FFFFFF
##3168B71.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416FBA
Deuteranopia (green-blind)
#2963B5
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3168b7;
/* rgb */ color: rgb(49, 104, 183);
/* oklch */ color: oklch(52.2% 0.138 257.8);
Tailwind
colors: {
  custom: {
    50: '#7a92cd',
    500: '#3168b7',
    950: '#000000',
  },
}
SCSS
$custom: #3168b7;
$custom-light: #7a92cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3168b7",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 183
  },
  "hsl": {
    "h": 215.373,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.13769,
    "h": 257.8
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3168B7

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

Preview Lab → · Contrast checker → · Palette generator →

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