#3162BC#3162BC

#3162BC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.152 H 261.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3162BC
RGBrgb(49, 98, 188)
HSLhsl(219, 59%, 46%)
HSVhsv(219, 74%, 74%)
CMYKcmyk(73.9%, 47.9%, 0%, 26.3%)
CIE-LABlab(42.79, 15.03, -52.22)
CIE-LCHlch(42.79, 54.34, 286.06°)
OKLaboklab(51.17% -0.0229 -0.1499)
OKLCHoklch(51.17% 0.152 261.3)
XYZxyz(14.7081, 13.0176, 49.3047)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3162BC #BC8B31
analogous
#31A8BC #3162BC #4631BC
triadic
#3162BC #BC3162 #62BC31
tetradic
#3162BC #BC31A8 #BC8B31 #31BC46
square
#3162BC #BC31A8 #BC8B31 #31BC46
split-complementary
#3162BC #BC4631 #A8BC31
monochromatic
#182F5B #24498B #3162BC #5783D3 #88A7E0

Accessibility & contrast

On white

5.83
#3162BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3162BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3162BC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3162BC#FFFFFF#000000##FFFFFF
##3162BC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#065FBA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3162bc;
/* rgb */ color: rgb(49, 98, 188);
/* oklch */ color: oklch(51.2% 0.152 261.3);
Tailwind
colors: {
  custom: {
    50: '#7c8ed1',
    500: '#3162bc',
    950: '#000000',
  },
}
SCSS
$custom: #3162bc;
$custom-light: #7c8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#3162bc",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 218.849,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.15162,
    "h": 261.3
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#3162BC
secondary
#CAAF7F
accent
#AB46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3162BC

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

Preview Lab → · Contrast checker → · Palette generator →

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