#3165B3#3165B3

#3165B3 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.2% C 0.136 H 258.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3165B3
RGBrgb(49, 101, 179)
HSLhsl(216, 57%, 45%)
HSVhsv(216, 73%, 70%)
CMYKcmyk(72.6%, 43.6%, 0%, 29.8%)
CIE-LABlab(43.08, 9.73, -46.50)
CIE-LCHlch(43.08, 47.50, 281.82°)
OKLaboklab(51.22% -0.0271 -0.133)
OKLCHoklch(51.22% 0.136 258.5)
XYZxyz(14.0540, 13.2135, 44.4489)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3165B3 #B37F31
analogous
#31A6B3 #3165B3 #3E31B3
triadic
#3165B3 #B33165 #65B331
tetradic
#3165B3 #B331A6 #B37F31 #31B33E
square
#3165B3 #B331A6 #B37F31 #31B33E
split-complementary
#3165B3 #B33E31 #A6B331
monochromatic
#172F53 #244A83 #3165B3 #5284D0 #82A6DD

Accessibility & contrast

On white

5.76
#3165B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3165B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3165B3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3165B3#FFFFFF#000000##FFFFFF
##3165B31.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3165b3;
/* rgb */ color: rgb(49, 101, 179);
/* oklch */ color: oklch(51.2% 0.136 258.5);
Tailwind
colors: {
  custom: {
    50: '#7a90ca',
    500: '#3165b3',
    950: '#000000',
  },
}
SCSS
$custom: #3165b3;
$custom-light: #7a90ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3165b3",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 179
  },
  "hsl": {
    "h": 216,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.13573,
    "h": 258.5
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#3165B3
secondary
#C6A77A
accent
#A348E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3165B3

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

Preview Lab → · Contrast checker → · Palette generator →

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