#3162BB#3162BB

#3162BB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.150 H 261.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3162BB
RGBrgb(49, 98, 187)
HSLhsl(219, 58%, 46%)
HSVhsv(219, 74%, 73%)
CMYKcmyk(73.8%, 47.6%, 0%, 26.7%)
CIE-LABlab(42.72, 14.66, -51.74)
CIE-LCHlch(42.72, 53.78, 285.82°)
OKLaboklab(51.1% -0.023 -0.1485)
OKLCHoklch(51.1% 0.15 261.2)
XYZxyz(14.6007, 12.9746, 48.7389)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3162BB #BB8A31
analogous
#31A7BB #3162BB #4531BB
triadic
#3162BB #BB3162 #62BB31
tetradic
#3162BB #BB31A7 #BB8A31 #31BB45
square
#3162BB #BB31A7 #BB8A31 #31BB45
split-complementary
#3162BB #BB4531 #A7BB31
monochromatic
#182F5A #24498B #3162BB #5683D3 #87A6E0

Accessibility & contrast

On white

5.84
#3162BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3162BB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3162BB#FFFFFF#000000##FFFFFF
##3162BB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#0A5FB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3162bb;
/* rgb */ color: rgb(49, 98, 187);
/* oklch */ color: oklch(51.1% 0.150 261.2);
Tailwind
colors: {
  custom: {
    50: '#7b8ed0',
    500: '#3162bb',
    950: '#000000',
  },
}
SCSS
$custom: #3162bb;
$custom-light: #7b8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3162bb",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 218.696,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51104,
    "c": 0.15025,
    "h": 261.2
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#3162BB
secondary
#C9AF7F
accent
#AA46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3162BB

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

Preview Lab → · Contrast checker → · Palette generator →

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