#3168BA#3168BA

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

Color values

HEX#3168BA
RGBrgb(49, 104, 186)
HSLhsl(216, 58%, 46%)
HSVhsv(216, 74%, 73%)
CMYKcmyk(73.7%, 44.1%, 0%, 27.1%)
CIE-LABlab(44.37, 10.44, -48.52)
CIE-LCHlch(44.37, 49.63, 282.14°)
OKLaboklab(52.35% -0.0285 -0.1389)
OKLCHoklch(52.35% 0.142 258.4)
XYZxyz(15.0766, 14.0971, 48.3713)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3168BA #BA8331
analogous
#31ACBA #3168BA #3E31BA
triadic
#3168BA #BA3168 #68BA31
tetradic
#3168BA #BA31AC #BA8331 #31BA3E
square
#3168BA #BA31AC #BA8331 #31BA3E
split-complementary
#3168BA #BA3E31 #ACBA31
monochromatic
#173259 #244D8A #3168BA #5688D2 #86AADF

Accessibility & contrast

On white

5.50
#3168BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#3168BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3168BA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3168BA#FFFFFF#000000##FFFFFF
##3168BA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BD
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#007B88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3168ba;
/* rgb */ color: rgb(49, 104, 186);
/* oklch */ color: oklch(52.4% 0.142 258.4);
Tailwind
colors: {
  custom: {
    50: '#7b92cf',
    500: '#3168ba',
    950: '#000000',
  },
}
SCSS
$custom: #3168ba;
$custom-light: #7b92cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3168ba",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 186
  },
  "hsl": {
    "h": 215.912,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.14177,
    "h": 258.4
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#3168BA
secondary
#C9AB7E
accent
#A346E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3168BA

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

Preview Lab → · Contrast checker → · Palette generator →

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