#3165B5#3165B5

#3165B5 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.4% C 0.138 H 258.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3165B5
RGBrgb(49, 101, 181)
HSLhsl(216, 57%, 45%)
HSVhsv(216, 73%, 71%)
CMYKcmyk(72.9%, 44.2%, 0%, 29%)
CIE-LABlab(43.20, 10.48, -47.47)
CIE-LCHlch(43.20, 48.62, 282.45°)
OKLaboklab(51.35% -0.0267 -0.1359)
OKLCHoklch(51.35% 0.138 258.9)
XYZxyz(14.2578, 13.2950, 45.5219)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165B5 #B58131
analogous
#31A7B5 #3165B5 #3F31B5
triadic
#3165B5 #B53165 #65B531
tetradic
#3165B5 #B531A7 #B58131 #31B53F
square
#3165B5 #B531A7 #B58131 #31B53F
split-complementary
#3165B5 #B53F31 #A7B531
monochromatic
#172F55 #244A85 #3165B5 #5384D0 #83A7DD

Accessibility & contrast

On white

5.74
#3165B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3165B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165B5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165B5#FFFFFF#000000##FFFFFF
##3165B51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB8
Deuteranopia (green-blind)
#2460B3
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3165b5;
/* rgb */ color: rgb(49, 101, 181);
/* oklch */ color: oklch(51.4% 0.138 258.9);
Tailwind
colors: {
  custom: {
    50: '#7a90cc',
    500: '#3165b5',
    950: '#000000',
  },
}
SCSS
$custom: #3165b5;
$custom-light: #7a90cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3165b5",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 181
  },
  "hsl": {
    "h": 216.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.13847,
    "h": 258.9
  },
  "luminance": 0.13297
}

Semantic roles & 50–950 ramp

primary
#3165B5
secondary
#C7A97B
accent
#A447E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3165B5

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

Preview Lab → · Contrast checker → · Palette generator →

#3165B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva