#3165B1#3165B1

#3165B1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.133 H 258.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3165B1
RGBrgb(49, 101, 177)
HSLhsl(216, 57%, 44%)
HSVhsv(216, 72%, 69%)
CMYKcmyk(72.3%, 42.9%, 0%, 30.6%)
CIE-LABlab(42.96, 8.98, -45.52)
CIE-LCHlch(42.96, 46.40, 281.16°)
OKLaboklab(51.09% -0.0275 -0.1301)
OKLCHoklch(51.09% 0.133 258.1)
XYZxyz(13.8532, 13.1332, 43.3913)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165B1 #B17D31
analogous
#31A5B1 #3165B1 #3D31B1
triadic
#3165B1 #B13165 #65B131
tetradic
#3165B1 #B131A5 #B17D31 #31B13D
square
#3165B1 #B131A5 #B17D31 #31B13D
split-complementary
#3165B1 #B13D31 #A5B131
monochromatic
#162E51 #244A81 #3165B1 #5184CF #80A6DC

Accessibility & contrast

On white

5.79
#3165B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3165B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165B1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165B1#FFFFFF#000000##FFFFFF
##3165B11.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)
#406CB4
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#007782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3165b1;
/* rgb */ color: rgb(49, 101, 177);
/* oklch */ color: oklch(51.1% 0.133 258.1);
Tailwind
colors: {
  custom: {
    50: '#7990c9',
    500: '#3165b1',
    950: '#000000',
  },
}
SCSS
$custom: #3165b1;
$custom-light: #7990c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3165b1",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 177
  },
  "hsl": {
    "h": 215.625,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51087,
    "c": 0.13299,
    "h": 258.1
  },
  "luminance": 0.13135
}

Semantic roles & 50–950 ramp

primary
#3165B1
secondary
#C5A679
accent
#A248E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3165B1

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

Preview Lab → · Contrast checker → · Palette generator →

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