#3165BC#3165BC

#3165BC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.8% C 0.148 H 260.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#3165BC
RGBrgb(49, 101, 188)
HSLhsl(218, 59%, 46%)
HSVhsv(218, 74%, 74%)
CMYKcmyk(73.9%, 46.3%, 0%, 26.3%)
CIE-LABlab(43.64, 13.10, -50.86)
CIE-LCHlch(43.64, 52.52, 284.45°)
OKLaboklab(51.83% -0.0255 -0.1458)
OKLCHoklch(51.83% 0.148 260.1)
XYZxyz(14.9941, 13.5895, 49.4000)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165BC #BC8831
analogous
#31ABBC #3165BC #4331BC
triadic
#3165BC #BC3165 #65BC31
tetradic
#3165BC #BC31AB #BC8831 #31BC43
square
#3165BC #BC31AB #BC8831 #31BC43
split-complementary
#3165BC #BC4331 #ABBC31
monochromatic
#18315B #244B8B #3165BC #5785D3 #88A9E0

Accessibility & contrast

On white

5.65
#3165BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3165BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165BC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165BC#FFFFFF#000000##FFFFFF
##3165BC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3165bc;
/* rgb */ color: rgb(49, 101, 188);
/* oklch */ color: oklch(51.8% 0.148 260.1);
Tailwind
colors: {
  custom: {
    50: '#7c90d1',
    500: '#3165bc',
    950: '#000000',
  },
}
SCSS
$custom: #3165bc;
$custom-light: #7c90d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3165bc",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 217.554,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.14802,
    "h": 260.1
  },
  "luminance": 0.13591
}

Semantic roles & 50–950 ramp

primary
#3165BC
secondary
#CAAE7F
accent
#A846E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3165BC

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

Preview Lab → · Contrast checker → · Palette generator →

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