#3165B9#3165B9

#3165B9 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.144 H 259.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3165B9
RGBrgb(49, 101, 185)
HSLhsl(217, 58%, 46%)
HSVhsv(217, 74%, 73%)
CMYKcmyk(73.5%, 45.4%, 0%, 27.5%)
CIE-LABlab(43.45, 11.98, -49.41)
CIE-LCHlch(43.45, 50.84, 283.63°)
OKLaboklab(51.62% -0.026 -0.1416)
OKLCHoklch(51.62% 0.144 259.6)
XYZxyz(14.6741, 13.4615, 47.7145)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165B9 #B98531
analogous
#31A9B9 #3165B9 #4131B9
triadic
#3165B9 #B93165 #65B931
tetradic
#3165B9 #B931A9 #B98531 #31B941
square
#3165B9 #B931A9 #B98531 #31B941
split-complementary
#3165B9 #B94131 #A9B931
monochromatic
#173058 #244B89 #3165B9 #5585D2 #86A8DF

Accessibility & contrast

On white

5.69
#3165B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3165B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165B9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165B9#FFFFFF#000000##FFFFFF
##3165B91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBC
Deuteranopia (green-blind)
#1E61B7
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3165b9;
/* rgb */ color: rgb(49, 101, 185);
/* oklch */ color: oklch(51.6% 0.144 259.6);
Tailwind
colors: {
  custom: {
    50: '#7b90ce',
    500: '#3165b9',
    950: '#000000',
  },
}
SCSS
$custom: #3165b9;
$custom-light: #7b90ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3165b9",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 185
  },
  "hsl": {
    "h": 217.059,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.14393,
    "h": 259.6
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#3165B9
secondary
#C8AC7D
accent
#A646E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3165B9

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

Preview Lab → · Contrast checker → · Palette generator →

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