#3168BB#3168BB

#3168BB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.4% C 0.143 H 258.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#3168BB
RGBrgb(49, 104, 187)
HSLhsl(216, 58%, 46%)
HSVhsv(216, 74%, 73%)
CMYKcmyk(73.8%, 44.4%, 0%, 26.7%)
CIE-LABlab(44.43, 10.81, -49.00)
CIE-LCHlch(44.43, 50.18, 282.44°)
OKLaboklab(52.42% -0.0283 -0.1403)
OKLCHoklch(52.42% 0.143 258.6)
XYZxyz(15.1833, 14.1398, 48.9331)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3168BB #BB8431
analogous
#31ADBB #3168BB #3F31BB
triadic
#3168BB #BB3168 #68BB31
tetradic
#3168BB #BB31AD #BB8431 #31BB3F
square
#3168BB #BB31AD #BB8431 #31BB3F
split-complementary
#3168BB #BB3F31 #ADBB31
monochromatic
#18325A #244D8B #3168BB #5688D3 #87AAE0

Accessibility & contrast

On white

5.49
#3168BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3168BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3168BB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3168BB#FFFFFF#000000##FFFFFF
##3168BB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#007B88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3168bb;
/* rgb */ color: rgb(49, 104, 187);
/* oklch */ color: oklch(52.4% 0.143 258.6);
Tailwind
colors: {
  custom: {
    50: '#7b92d0',
    500: '#3168bb',
    950: '#000000',
  },
}
SCSS
$custom: #3168bb;
$custom-light: #7b92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3168bb",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 216.087,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.14312,
    "h": 258.6
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#3168BB
secondary
#C9AB7F
accent
#A446E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3168BB

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

Preview Lab → · Contrast checker → · Palette generator →

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