#3165BF#3165BF

#3165BF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.0% C 0.152 H 260.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3165BF
RGBrgb(49, 101, 191)
HSLhsl(218, 59%, 47%)
HSVhsv(218, 74%, 75%)
CMYKcmyk(74.3%, 47.1%, 0%, 25.1%)
CIE-LABlab(43.83, 14.23, -52.29)
CIE-LCHlch(43.83, 54.19, 285.22°)
OKLaboklab(52.03% -0.025 -0.15)
OKLCHoklch(52.03% 0.152 260.5)
XYZxyz(15.3209, 13.7202, 51.1209)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165BF #BF8B31
analogous
#31ACBF #3165BF #4431BF
triadic
#3165BF #BF3165 #65BF31
tetradic
#3165BF #BF31AC #BF8B31 #31BF44
square
#3165BF #BF31AC #BF8B31 #31BF44
split-complementary
#3165BF #BF4431 #ACBF31
monochromatic
#18315E #254B8E #3165BF #5986D4 #8AAAE1

Accessibility & contrast

On white

5.61
#3165BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3165BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165BF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165BF#FFFFFF#000000##FFFFFF
##3165BF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346FC2
Deuteranopia (green-blind)
#0E61BD
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3165bf;
/* rgb */ color: rgb(49, 101, 191);
/* oklch */ color: oklch(52.0% 0.152 260.5);
Tailwind
colors: {
  custom: {
    50: '#7c90d3',
    500: '#3165bf',
    950: '#000000',
  },
}
SCSS
$custom: #3165bf;
$custom-light: #7c90d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3165bf",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 218.028,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.1521,
    "h": 260.5
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#3165BF
secondary
#CBB081
accent
#A945E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3165BF

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

Preview Lab → · Contrast checker → · Palette generator →

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