#3168B5#3168B5

#3168B5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.0% C 0.135 H 257.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#3168B5
RGBrgb(49, 104, 181)
HSLhsl(215, 57%, 45%)
HSVhsv(215, 73%, 71%)
CMYKcmyk(72.9%, 42.5%, 0%, 29%)
CIE-LABlab(44.07, 8.57, -46.08)
CIE-LCHlch(44.07, 46.87, 280.53°)
OKLaboklab(52.02% -0.0295 -0.1317)
OKLCHoklch(52.02% 0.135 257.4)
XYZxyz(14.5544, 13.8882, 45.6207)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3168B5 #B57E31
analogous
#31AAB5 #3168B5 #3C31B5
triadic
#3168B5 #B53168 #68B531
tetradic
#3168B5 #B531AA #B57E31 #31B53C
square
#3168B5 #B531AA #B57E31 #31B53C
split-complementary
#3168B5 #B53C31 #AAB531
monochromatic
#173155 #244C85 #3168B5 #5387D0 #83A9DD

Accessibility & contrast

On white

5.56
#3168B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3168B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3168B5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3168B5#FFFFFF#000000##FFFFFF
##3168B51.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436FB8
Deuteranopia (green-blind)
#2C63B3
Tritanopia (blue-blind)
#007A85
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3168b5;
/* rgb */ color: rgb(49, 104, 181);
/* oklch */ color: oklch(52.0% 0.135 257.4);
Tailwind
colors: {
  custom: {
    50: '#7a92cb',
    500: '#3168b5',
    950: '#000000',
  },
}
SCSS
$custom: #3168b5;
$custom-light: #7a92cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3168b5",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 181
  },
  "hsl": {
    "h": 215,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.13499,
    "h": 257.4
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#3168B5
secondary
#C7A77B
accent
#A147E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3168B5

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

Preview Lab → · Contrast checker → · Palette generator →

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