#3162BF#3162BF

#3162BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.156 H 261.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3162BF
RGBrgb(49, 98, 191)
HSLhsl(219, 59%, 47%)
HSVhsv(219, 74%, 75%)
CMYKcmyk(74.3%, 48.7%, 0%, 25.1%)
CIE-LABlab(42.99, 16.16, -53.65)
CIE-LCHlch(42.99, 56.03, 286.76°)
OKLaboklab(51.39% -0.0224 -0.1541)
OKLCHoklch(51.39% 0.156 261.7)
XYZxyz(15.0349, 13.1483, 51.0256)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3162BF #BF8E31
analogous
#31A9BF #3162BF #4731BF
triadic
#3162BF #BF3162 #62BF31
tetradic
#3162BF #BF31A9 #BF8E31 #31BF47
square
#3162BF #BF31A9 #BF8E31 #31BF47
split-complementary
#3162BF #BF4731 #A9BF31
monochromatic
#18305E #25498E #3162BF #5983D4 #8AA8E1

Accessibility & contrast

On white

5.79
#3162BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3162BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3162BF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3162BF#FFFFFF#000000##FFFFFF
##3162BF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3162bf;
/* rgb */ color: rgb(49, 98, 191);
/* oklch */ color: oklch(51.4% 0.156 261.7);
Tailwind
colors: {
  custom: {
    50: '#7c8ed3',
    500: '#3162bf',
    950: '#000000',
  },
}
SCSS
$custom: #3162bf;
$custom-light: #7c8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#3162bf",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 219.296,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.15571,
    "h": 261.7
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#3162BF
secondary
#CBB181
accent
#AC45E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3162BF

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

Preview Lab → · Contrast checker → · Palette generator →

#3162BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva